Debian Codegraph @

gcc/testsuite/g++.dg/diagnostic/auto-storage-1.C

raw
1 // { dg-do compile { target c++98_only } }
2
3 void foo()
4 {
5 auto void bar(); // { dg-error "3:storage class .auto. invalid for function" }
6 }