New testcase, distilled from emacs by Misha
authorChris Lattner <sabre@nondot.org>
Thu, 21 Aug 2003 17:56:32 +0000 (17:56 +0000)
committerChris Lattner <sabre@nondot.org>
Thu, 21 Aug 2003 17:56:32 +0000 (17:56 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8009 91177308-0d34-0410-b5e6-96231b3b80d8

test/CFrontend/2003-08-21-BinOp-Type-Mismatch.c [new file with mode: 0644]

diff --git a/test/CFrontend/2003-08-21-BinOp-Type-Mismatch.c b/test/CFrontend/2003-08-21-BinOp-Type-Mismatch.c
new file mode 100644 (file)
index 0000000..0e431c7
--- /dev/null
@@ -0,0 +1,8 @@
+struct bar;
+
+void foo()
+{
+  unsigned int frame, focus;
+  (struct bar *) focus == (focus ? ((struct bar *) frame) : 0);
+}
+