summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/parse/cond4.C
blob: ae210e0d750c56cb60e6aa7ac4ca9e3c3892d2b8 (plain)
1
2
3
4
5
6
// PR c++/38635
// { dg-do compile }

void foo()                                                                                                                              
{                                                                                                                                       
  if (struct A{}// { dg-error "types may not be defined|expected" }