Harden SLP reduction support wrt STMT_VINFO_REDUC_IDX
[official-gcc.git] / gcc / testsuite / g++.dg / parse / pragma2.C
blobc7d4f10751cdf35320dd673be5216876d70885e2
1 // PR c++/17595
3 // Ideally, the #pragma error would come one line further down, but it
4 // does not.
5 int f(int x,
6 #pragma interface  // { dg-error "not allowed here" }
7 // { dg-bogus "two or more" "" { xfail *-*-* } .-1 }      
8       // The parser gets confused and issues an error on the next line.
9       int y);