Index: test/Driver/le32-unknown-nacl.cpp |
=================================================================== |
--- test/Driver/le32-unknown-nacl.cpp (revision 138489) |
+++ test/Driver/le32-unknown-nacl.cpp (working copy) |
@@ -26,6 +26,25 @@ |
} |
#endif |
+#ifdef unix |
+void unixdefined() { |
+ // CHECK: unixdefined |
+} |
+#endif |
+ |
+#ifdef __ELF__ |
+void __ELF__defined() { |
+ // CHECK: __ELF__defined |
+} |
+#endif |
+ |
+#ifdef _GNU_SOURCE |
+void _GNU_SOURCEdefined() { |
+ // CHECK: _GNU_SOURCEdefined |
jvoung - send to chromium...
2011/08/26 00:06:05
Does this set Opts.CPlusPlus? I guess so.
To test
|
+} |
+#endif |
+ |
+ |
// Check types |
// CHECK: signext i8 @check_char() |
@@ -89,3 +108,5 @@ |
// CHECK: SwitchILi16 |
Switch<sizeof(va_list)>(); |
} |
+ |
+#include <stdio.h> |