commit | e0cc5086e55b24c0382db9a05007387d228e8484 | [log] [tgz] |
---|---|---|
author | Chris Lattner <sabre@nondot.org> | Sun Aug 26 23:08:06 2007 +0000 |
committer | Chris Lattner <sabre@nondot.org> | Sun Aug 26 23:08:06 2007 +0000 |
tree | 12a5cf61c8d619c8d6f297546c1f3af8663c786e | |
parent | 246d96508fefdc3f264f0fd702c78c5767ff8ccf [diff] [blame] |
Fix test/Parser/if-scope-*.c. Patch by Neil Booth! git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@41471 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/test/Parser/if-scope-c90.c b/test/Parser/if-scope-c90.c new file mode 100644 index 0000000..6040281 --- /dev/null +++ b/test/Parser/if-scope-c90.c
@@ -0,0 +1,8 @@ +// RUN: clang -parse-ast-check --std=c90 %s + +int f (int z) +{ + if (z > sizeof (enum {a, b})) + return a; + return b; +}