]> gcc.gnu.org Git - gcc.git/blob - gcc/testsuite/g++.dg/cpp0x/auto41.C
PR c++/92590 - wrong handling of inherited default ctor.
[gcc.git] / gcc / testsuite / g++.dg / cpp0x / auto41.C
1 // PR c++/58550
2 // { dg-do compile { target c++11 } }
3
4 auto foo(); // { dg-error "auto" "" { target { ! c++14 } } }
5 auto fp = foo; // { dg-error "auto" }
This page took 0.039878 seconds and 5 git commands to generate.