match: Fix comment for `X != 0 ? X + ~0 : 0` transformation
[official-gcc.git] / gcc / testsuite / g++.dg / cpp1y / pr60384.C
bloba6d7debfb9965427faa8cb39670211b3011cb92c
1 // PR c++/60384
2 // { dg-do compile { target c++14 } }
4 template<typename> int foo();
6 struct A
8   typedef auto foo<>();  // { dg-error "11:typedef declared 'auto'" }
9 };