summaryrefslogtreecommitdiff
path: root/gcc/testsuite/c-c++-common/Wvarargs.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/c-c++-common/Wvarargs.c')
-rw-r--r--gcc/testsuite/c-c++-common/Wvarargs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/testsuite/c-c++-common/Wvarargs.c b/gcc/testsuite/c-c++-common/Wvarargs.c
index 408f427b5c4..0f90cb3bfce 100644
--- a/gcc/testsuite/c-c++-common/Wvarargs.c
+++ b/gcc/testsuite/c-c++-common/Wvarargs.c
@@ -49,6 +49,6 @@ foo3 (int a, register int b, ...)
{
va_list vp;
/* 'b' is declared with register storage, so warn. */
- va_start (vp, b); /* { dg-warning "undefined behaviour" } */
+ va_start (vp, b); /* { dg-warning "undefined behavior" } */
va_end (vp);
}