diff options
author | rguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2012-06-15 11:06:16 +0000 |
---|---|---|
committer | rguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2012-06-15 11:06:16 +0000 |
commit | 5ecc7cc35b57c46e6ae0da6525d6bc4bbac04d01 (patch) | |
tree | 75ff23c888f97cad8c75cc3af12e75fcf6ce8053 /gcc/testsuite/gcc.c-torture/execute/20120615-1.c | |
parent | ffda9ae34e3c95a9dd401728ccacfffa513d089b (diff) | |
download | gcc-5ecc7cc35b57c46e6ae0da6525d6bc4bbac04d01.tar.gz |
2012-06-15 Richard Guenther <rguenther@suse.de>
* gcc.c-torture/execute/20120615-1.c: New testcase.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@188655 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/testsuite/gcc.c-torture/execute/20120615-1.c')
-rw-r--r-- | gcc/testsuite/gcc.c-torture/execute/20120615-1.c | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/gcc/testsuite/gcc.c-torture/execute/20120615-1.c b/gcc/testsuite/gcc.c-torture/execute/20120615-1.c new file mode 100644 index 00000000000..6c80d43fe06 --- /dev/null +++ b/gcc/testsuite/gcc.c-torture/execute/20120615-1.c @@ -0,0 +1,16 @@ +extern void abort (void); + +void __attribute__((noinline,noclone)) + test1(int i) +{ + if (i == 12) + return; + if (i != 17) + { + if (i == 15) + return; + abort (); + } +} + +int main() { test1 (15); return 0; } |