From: Chris Lattner Date: Thu, 21 Aug 2003 17:56:32 +0000 (+0000) Subject: New testcase, distilled from emacs by Misha X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=76bbaa53ca516ebfc3db22f78480fe77da720d97;p=oota-llvm.git New testcase, distilled from emacs by Misha git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8009 91177308-0d34-0410-b5e6-96231b3b80d8 --- 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 index 00000000000..0e431c7a66e --- /dev/null +++ b/test/CFrontend/2003-08-21-BinOp-Type-Mismatch.c @@ -0,0 +1,8 @@ +struct bar; + +void foo() +{ + unsigned int frame, focus; + (struct bar *) focus == (focus ? ((struct bar *) frame) : 0); +} +