Add a test for the 'init' option property.
[oota-llvm.git] / test / FrontendC++ / 2006-11-30-Pubnames.cpp
index c6165a6e354c9f7d14cd9e24af53dad08b41f520..3a08b3c3345bf0ea29c46fb287e1dc3e29e51994 100644 (file)
@@ -1,12 +1,16 @@
 // This is a regression test on debug info to make sure that we can access 
 // qualified global names.
-// RUN: %llvmgcc -S -O0 -g %s -o - | llvm-as | \
-// RUN:   llc --disable-fp-elim -o %t.s -f
+// RUN: %llvmgcc -S -O0 -g %s -o - | \
+// RUN:   llc --disable-fp-elim -o %t.s -O0
 // RUN: %compile_c %t.s -o %t.o
 // RUN: %link %t.o -o %t.exe
+// RUN: %llvmdsymutil %t.exe 
 // RUN: echo {break main\nrun\np Pubnames::pubname} > %t.in
 // RUN: gdb -q -batch -n -x %t.in %t.exe | tee %t.out | grep {\$1 = 10}
-// XFAIL: alpha|ia64|arm
+//
+// XFAIL: alpha,arm,powerpc-apple-darwin
+// FIXME: This doesn't work for PPC Darwin because we turned off debugging on
+// that platform.
 
 struct Pubnames {
   static int pubname;