1 // { dg-do compile } 2 // PR 98943, compiler feature tests can get confused by not linking 3 // { dg-options "NOTAFILE" } 4 main()5int 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} } 11