summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2003-08-20 16:13:10 +0000
committerChris Lattner <sabre@nondot.org>2003-08-20 16:13:10 +0000
commita1a7935d6828e5646d4dbeb1a194b6a34f4968e8 (patch)
tree44db5409c8d1a0988ef8b0b51a46de2bfd17838e /test
parent4b517a4654921ac8e2225237f82d5fe8b3ba49b1 (diff)
downloadllvm-a1a7935d6828e5646d4dbeb1a194b6a34f4968e8.tar.gz
llvm-a1a7935d6828e5646d4dbeb1a194b6a34f4968e8.tar.bz2
llvm-a1a7935d6828e5646d4dbeb1a194b6a34f4968e8.tar.xz
New testcase, distilled from 'screen' by Misha
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7984 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test')
-rw-r--r--test/CFrontend/2003-08-20-BadBitfieldRef.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/CFrontend/2003-08-20-BadBitfieldRef.c b/test/CFrontend/2003-08-20-BadBitfieldRef.c
new file mode 100644
index 0000000000..f4458cbaf1
--- /dev/null
+++ b/test/CFrontend/2003-08-20-BadBitfieldRef.c
@@ -0,0 +1,6 @@
+void foo()
+{
+ char *ap;
+ ap[1] == '-' && ap[2] == 0;
+}
+