]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
testsuite: Require trampolines for gcc.dg/pr118325.c
authorDimitar Dimitrov <dimitar@dinux.eu>
Thu, 9 Jan 2025 18:18:08 +0000 (20:18 +0200)
committerDimitar Dimitrov <dimitar@dinux.eu>
Thu, 9 Jan 2025 18:21:06 +0000 (20:21 +0200)
The test case uses a nested function, which is not supported by some
targets.

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

index 74f92cc2bb6efa566ced1cb39fe2c44bc3c38223..7129bc9b9be95624a87f22cbd16bcdee0acc3b28 100644 (file)
@@ -1,4 +1,5 @@
 /* { dg-do compile } */
+/* { dg-require-effective-target trampolines } */
 /* { dg-options "-std=gnu17 -fchecking" } */
 
 void f(void*);