aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/treelang/compile/syntax-1.tree
blob: 32efe744ca2d5563113c912157c46c5eda48c720 (plain)
1
2
3
4
5
6
7
8
9
// { dg-do compile }
external_reference void exit(int); // { dg-error "(parse|syntax) error" }

static int foo (int a);

foo
{
  return a;
}