llvm-mirror/test/LLVMC/wall.c
Mikhail Glushenkov 18508c5df4 Filter option names to escape symbols not allowed as C++ identifiers.
Makes it possible to use options with names like "Wa,".
Also fixes the -Wall option handling as a side-effect.

llvm-svn: 50973
2008-05-12 16:33:06 +00:00

13 lines
174 B
C

/*
* Check that -Wall works as intended
* RUN: llvmc2 -Wall %s -o %t
* RUN: ./%t | grep hello
*/
#include <stdio.h>
int main() {
printf("hello\n");
return 0;
}