summaryrefslogtreecommitdiffstats
path: root/clang/test/Parser/c99.c
diff options
context:
space:
mode:
Diffstat (limited to 'clang/test/Parser/c99.c')
-rw-r--r--clang/test/Parser/c99.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/clang/test/Parser/c99.c b/clang/test/Parser/c99.c
index 3828f2057a3..1213a20b6e8 100644
--- a/clang/test/Parser/c99.c
+++ b/clang/test/Parser/c99.c
@@ -6,3 +6,6 @@ double _Imaginary foo; // ext-warning {{'_Imaginary' is a C99 extension}} \
// expected-error {{imaginary types are not supported}}
double _Complex bar; // ext-warning {{'_Complex' is a C99 extension}}
+#if !defined(__cplusplus)
+_Bool baz; // ext-warning {{'_Bool' is a C99 extension}}
+#endif
OpenPOWER on IntegriCloud