remove the "old" at&t style asmprinter. Unfortunately, most of the
[llvm/avr.git] / test / FrontendC / 2005-01-02-VAArgError-ICE.c
blobdb8255846274774bab1dda3b3bea9038685b83fc
1 // This file is erroneous, but should not cause the compiler to ICE.
2 // PR481
3 // RUN: %llvmgcc %s -S -o /dev/null |& not grep {internal compiler error}
5 #include <stdarg.h>
6 int flags(int a, int b, ...) {
7 va_list args;
8 va_start(args,a); // not the last named arg
9 foo(args);