diff options
Diffstat (limited to 'test/LLVMC/test_data/false.cpp')
-rw-r--r-- | test/LLVMC/test_data/false.cpp | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/test/LLVMC/test_data/false.cpp b/test/LLVMC/test_data/false.cpp new file mode 100644 index 0000000000..d3a7102f8c --- /dev/null +++ b/test/LLVMC/test_data/false.cpp @@ -0,0 +1,17 @@ +/* RUN: ignore */ +#include <stdio.h> + +/* Make this invalid C++ */ +typedef struct { + int i; + char c; +} a; + +static a b = { .i = 65, .c = 'r'}; + +void test() { + b.i = 9; + fflush(stdout); + printf("el"); +} + |