aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/g++.dg/cpp1y/pr60393.C
blob: 8e89be499355c41a3be549dba81e8d488fa8ba2c (plain)
1
2
3
4
5
6
7
8
9
10
// PR c++/60393
// { dg-do compile { target c++1y } }
// { dg-options "" }

void (*f)(auto) + 0; // { dg-error "expected" }

struct A
{
  int i;
};