diff options
author | Dimitry Andric <dim@FreeBSD.org> | 2013-04-08 18:45:10 +0000 |
---|---|---|
committer | Dimitry Andric <dim@FreeBSD.org> | 2013-04-08 18:45:10 +0000 |
commit | 809500fc2c13c8173a16b052304d983864e4a1e1 (patch) | |
tree | 4fc2f184c499d106f29a386c452b49e5197bf63d /test/Headers/stdbool.cpp | |
parent | be7c9ec198dcdb5bf73a35bfbb00b3333cb87909 (diff) | |
download | src-test2-809500fc2c13c8173a16b052304d983864e4a1e1.tar.gz src-test2-809500fc2c13c8173a16b052304d983864e4a1e1.zip |
Notes
Diffstat (limited to 'test/Headers/stdbool.cpp')
-rw-r--r-- | test/Headers/stdbool.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/test/Headers/stdbool.cpp b/test/Headers/stdbool.cpp index a252cca1a6a7..7c927db441b2 100644 --- a/test/Headers/stdbool.cpp +++ b/test/Headers/stdbool.cpp @@ -1,5 +1,6 @@ // RUN: %clang_cc1 -E -dM %s | FileCheck --check-prefix=CHECK-GNU-COMPAT %s // RUN: %clang_cc1 -std=c++98 -E -dM %s | FileCheck --check-prefix=CHECK-CONFORMING %s +// RUN: %clang_cc1 -fsyntax-only -std=gnu++98 -verify -Weverything %s #include <stdbool.h> #define zzz @@ -12,3 +13,7 @@ // CHECK-CONFORMING: #define __CHAR_BIT__ // CHECK-CONFORMING-NOT: #define false false // CHECK-CONFORMING: #define zzz + +zzz +// expected-no-diagnostics +extern bool x; |