diff options
author | Mikhail Glushenkov <foldr@codedgers.com> | 2008-05-06 18:11:21 +0000 |
---|---|---|
committer | Mikhail Glushenkov <foldr@codedgers.com> | 2008-05-06 18:11:21 +0000 |
commit | ceda1734cc33f14077cf48ee1cbe020532a89c81 (patch) | |
tree | 84ae9b92a93a5381719c031f5afe23f1fd23d59b /test/LLVMC/false.cpp | |
parent | 87416b4cea4748a5d2c40c15b58e1a4a3310cd9f (diff) |
Add two (currently failing) tests.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@50752 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/LLVMC/false.cpp')
-rw-r--r-- | test/LLVMC/false.cpp | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/test/LLVMC/false.cpp b/test/LLVMC/false.cpp new file mode 100644 index 0000000000..d3a7102f8c --- /dev/null +++ b/test/LLVMC/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"); +} + |