]> oss.titaniummirror.com Git - msp430-gcc.git/blobdiff - gcc/testsuite/gcc.dg/va-arg-1.c
Imported gcc-4.4.3
[msp430-gcc.git] / gcc / testsuite / gcc.dg / va-arg-1.c
diff --git a/gcc/testsuite/gcc.dg/va-arg-1.c b/gcc/testsuite/gcc.dg/va-arg-1.c
deleted file mode 100644 (file)
index a148237..0000000
+++ /dev/null
@@ -1,13 +0,0 @@
-/* { dg-do compile } */
-
-#include <stdarg.h>
-
-va_list v;
-volatile int i;
-
-void foo()
-{
-  i = va_arg(v, char); /* { dg-warning "is promoted to|so you should" "char" } */
-  i = va_arg(v, short); /* { dg-warning "is promoted to" "short" } */
-  i = va_arg(v, float); /* { dg-warning "is promoted to" "float" } */
-}