teak-llvm/clang/test/Driver/redundant-args.c
Chad Rosier 706c235013 [driver] In general, the driver claims redundant args and uses the last arg.
However, the '-x' option has special handling and wasn't following this
paradigm.  Fix it to do so by claiming the arg as we parse the '-x' option.
rdar://11203340

llvm-svn: 154231
2012-04-07 00:01:31 +00:00

3 lines
92 B
C

// RUN: %clang -target x86_64-apple-darwin10 \
// RUN: -Werror -x c -x c -fsyntax-only %s