diff options
Diffstat (limited to 'gcc/testsuite/gcc.c-torture/compile/pr17913.c')
-rw-r--r-- | gcc/testsuite/gcc.c-torture/compile/pr17913.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/gcc/testsuite/gcc.c-torture/compile/pr17913.c b/gcc/testsuite/gcc.c-torture/compile/pr17913.c new file mode 100644 index 000000000..30654a395 --- /dev/null +++ b/gcc/testsuite/gcc.c-torture/compile/pr17913.c @@ -0,0 +1,7 @@ +/* Test for computed jump into cond_expr: bug 17913. */ +void f (void) +{ + void *p = &&a; + 1 ? 1 : ({ a : 1; }); + goto *p; +} |