(root)/
gcc-13.2.0/
gcc/
testsuite/
c-c++-common/
pr98943.c
       1  // { dg-do compile }
       2  // PR 98943, compiler feature tests can get confused by not linking
       3  // { dg-options "NOTAFILE" }
       4  
       5  int main ()
       6  {
       7    return 0;
       8  }
       9  
      10  // { dg-regexp {[^\n:]*: warning: NOTAFILE: linker input file unused because linking not done\n[^\n:]*: error: NOTAFILE: linker input file not found: [^\n]*\n} }