about summary refs log tree commit diff
path: root/src/test/debug-info/struct.rs
diff options
context:
space:
mode:
authorVadim Chugunov <vadimcn@gmail.com>2013-06-14 12:23:42 -0700
committerVadim Chugunov <vadimcn@gmail.com>2013-06-17 08:41:25 -0700
commit65dd6218afe62fa36e701ceb27bd4e17ec764acc (patch)
tree30780909a53562dfbe623e4a5a00cd00ae23e505 /src/test/debug-info/struct.rs
parent62e86e044db030b2ffb7883075720360a8dccdd4 (diff)
Fixed remaining issues to pass debug-test/* tests.
Made debugger scripts source line insensitive.
Diffstat (limited to 'src/test/debug-info/struct.rs')
-rw-r--r--src/test/debug-info/struct.rs9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/test/debug-info/struct.rs b/src/test/debug-info/struct.rs
index 16ba6cda590..ddfac9cbeea 100644
--- a/src/test/debug-info/struct.rs
+++ b/src/test/debug-info/struct.rs
@@ -8,12 +8,13 @@
 // option. This file may not be copied, modified, or distributed
 // except according to those terms.
 
-// xfail-test
+// xfail-win32 Broken because of LLVM bug: http://llvm.org/bugs/show_bug.cgi?id=16249
 
 // compile-flags:-Z extra-debug-info
 // debugger:set print pretty off
-// debugger:break 29
+// debugger:break _zzz
 // debugger:run
+// debugger:finish
 // debugger:print pair
 // check:$1 = {x = 1, y = 2}
 // debugger:print pair.x
@@ -28,5 +29,7 @@ struct Pair {
 
 fn main() {
     let pair = Pair { x: 1, y: 2 };
-    let _z = ();
+    _zzz();
 }
+
+fn _zzz() {()}
\ No newline at end of file