summaryrefslogtreecommitdiff
path: root/gcc/testsuite/treelang/compile/autofunc.tree
blob: 97da41e412034dc5ebc10b15b1663f46296a3cf9 (plain)
1
2
3
4
5
6
// { dg-do compile }
automatic int bar ();  // { dg-error "automatic" }

bar () {
	return -12;
}