aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/c-c++-common/pr98943.c
blob: 53d8838f242298a8f490fe9da93815d0d94785a6 (plain)
1
2
3
4
5
6
7
8
9
10
// { dg-do compile }
// PR 98943, compiler feature tests can get confused by not linking
// { dg-options "NOTAFILE" }

int main ()
{
  return 0;
}

// { dg-regexp {[^\n:]*: warning: NOTAFILE: linker input file unused because linking not done\n[^\n:]*: error: NOTAFILE: linker input file not found: [^\n]*\n} }