gcc/testsuite/c-c++-common/patchable_function_entry-error-1.c
raw| 1 | /* { dg-do compile { target { ! { nvptx*-*-* visium-*-* } } } } */ |
| 2 | /* { dg-options "-O2 -fpatchable-function-entry=65536,1" } */ |
| 3 | /* { dg-additional-options "-fno-pie" { target sparc*-*-* } } */ |
| 4 | /* { dg-error "invalid arguments for '-fpatchable-function-entry'" "" { target *-*-* } 0 } */ |
| 5 | |
| 6 | void |
| 7 | foo (void) |
| 8 | { |
| 9 | } |