llvm-project/llvm/test/CFrontend/2002-10-12-TooManyArguments.c

9 lines
135 B
C

// RUN: %llvmgcc -S %s -o - | llvm-as -f -o /dev/null
void foo() {}
void bar() {
foo(1, 2, 3); /* Too many arguments passed */
}