diff options
author | Chris Lattner <sabre@nondot.org> | 2005-06-15 22:42:53 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2005-06-15 22:42:53 +0000 |
commit | 065e4208a93b40943087c060f3bb2c997eef8c87 (patch) | |
tree | 0ca488500b2308a69b4c6398affbce336cdcd70f | |
parent | 4bd09d70cceb3851f7eb1c2f98338b3071d405f3 (diff) | |
download | llvm-065e4208a93b40943087c060f3bb2c997eef8c87.tar.gz llvm-065e4208a93b40943087c060f3bb2c997eef8c87.tar.bz2 llvm-065e4208a93b40943087c060f3bb2c997eef8c87.tar.xz |
new testcase for PR580
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22222 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | test/CFrontend/2005-06-15-ExpandGotoInternalProblem.c | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/test/CFrontend/2005-06-15-ExpandGotoInternalProblem.c b/test/CFrontend/2005-06-15-ExpandGotoInternalProblem.c new file mode 100644 index 0000000000..0b49f52b1f --- /dev/null +++ b/test/CFrontend/2005-06-15-ExpandGotoInternalProblem.c @@ -0,0 +1,13 @@ +// RUN: %llvmgcc -std=c99 %s -S -o - | gccas -o /dev/null +// PR580 + +int X, Y; +int foo() { + int i; + for (i=0; i<100; i++ ) + { + break; + i = ( X || Y ) ; + } +} + |