From 76bbaa53ca516ebfc3db22f78480fe77da720d97 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Thu, 21 Aug 2003 17:56:32 +0000 Subject: [PATCH] New testcase, distilled from emacs by Misha 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 | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 test/CFrontend/2003-08-21-BinOp-Type-Mismatch.c 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); +} + -- 2.34.1