1 /* { dg-do compile } */
2 /* { dg-options "-fself-test" } */
4 /* When this test was written -fself-test took no argument, but it
5 has subsequently gained a mandatory argument, giving the path
6 to selftest support files (within the srcdir).
7 It's not clear how to provide this path sanely from
8 within DejaGnu, so for now, this test is disabled. */
9 /* { dg-skip-if "" { *-*-* } } */
11 /* Verify that -fself-test does not fail on a non empty source. */
13 int i
; void bar(); void foo()
18 /* { dg-message "fself\-test: " "-fself-test" { target *-*-* } 0 } */