aboutsummaryrefslogtreecommitdiff
path: root/test/LLVMC/test_data/false.cpp
diff options
context:
space:
mode:
authorMikhail Glushenkov <foldr@codedgers.com>2008-05-06 18:16:20 +0000
committerMikhail Glushenkov <foldr@codedgers.com>2008-05-06 18:16:20 +0000
commit2e9e0c2951e8f9f167f28efb673f4045977d6bb0 (patch)
tree7dcef9a2f4eb66bf42e8dd7a694fb4bcf2794dad /test/LLVMC/test_data/false.cpp
parent4c11a62d695d000260b41c80091dbec5683ff402 (diff)
Move test files around a bit - fixes the reported number of test cases.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@50761 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/LLVMC/test_data/false.cpp')
-rw-r--r--test/LLVMC/test_data/false.cpp17
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");
+}
+