summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/noncompile/20010425-1.c
blob: e36269e8d934e6061b6acd1b02923165f2564486 (plain)
1
2
3
4
5
6
7
8
9
__inline__ void bar(int x)
{
  (void)x;
}

void foo(void)
{
  bar(baz);  /* { dg-error "undeclared|for each function" } */
}