OSDN Git Service

* tree-loop-linear.c (try_interchange_loops): Compare memory access
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / gcc.dg / parse-else-error-4.c
1 /* PR 23722 */
2 /* { dg-do compile } */
3 /* { dg-options "-fsyntax-only" } */
4 int f()
5 {
6   if (1)
7     {
8       return 1;
9     }
10   else 
11     {
12       else; /* { dg-error "'else' without a previous 'if'" } */
13     }
14 }