diff options
author | Chris Lattner <sabre@nondot.org> | 2003-08-21 17:56:32 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2003-08-21 17:56:32 +0000 |
commit | 76bbaa53ca516ebfc3db22f78480fe77da720d97 (patch) | |
tree | de9242177abb117933eea7e0b96b4ba2c6a2202d /test/CFrontend | |
parent | a83de0bf7713bee02980235c570cbc664940b424 (diff) | |
download | llvm-76bbaa53ca516ebfc3db22f78480fe77da720d97.tar.gz llvm-76bbaa53ca516ebfc3db22f78480fe77da720d97.tar.bz2 llvm-76bbaa53ca516ebfc3db22f78480fe77da720d97.tar.xz |
New testcase, distilled from emacs by Misha
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8009 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CFrontend')
-rw-r--r-- | test/CFrontend/2003-08-21-BinOp-Type-Mismatch.c | 8 |
1 files changed, 8 insertions, 0 deletions
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 0000000000..0e431c7a66 --- /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); +} + |