aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/stack-usage-2.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/gcc.dg/stack-usage-2.c')
-rw-r--r--gcc/testsuite/gcc.dg/stack-usage-2.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/testsuite/gcc.dg/stack-usage-2.c b/gcc/testsuite/gcc.dg/stack-usage-2.c
index df7e55f..c2527d2 100644
--- a/gcc/testsuite/gcc.dg/stack-usage-2.c
+++ b/gcc/testsuite/gcc.dg/stack-usage-2.c
@@ -1,5 +1,7 @@
/* { dg-do compile } */
/* { dg-options "-Wstack-usage=512" } */
+/* nvptx gets very upset with mismatched function types. */
+/* { dg-skip-if "" { nvptx-*-* } { "*" } { "" } } */
int foo1 (void) /* { dg-bogus "stack usage" } */
{