[committed] testsuite: Require trampolines for gcc.dg/pr118325.c
Checks
Commit Message
The test case uses a nested function, which is not supported by some
targets.
This fixes a spurious error for pru-unknown-elf, where nested functions
are not supported. Pushed to trunk as obvious.
gcc/testsuite/ChangeLog:
* gcc.dg/pr118325.c: Require effective target trampolines.
Signed-off-by: Dimitar Dimitrov <dimitar@dinux.eu>
---
gcc/testsuite/gcc.dg/pr118325.c | 1 +
1 file changed, 1 insertion(+)
@@ -1,4 +1,5 @@
/* { dg-do compile } */
+/* { dg-require-effective-target trampolines } */
/* { dg-options "-std=gnu17 -fchecking" } */
void f(void*);