blob: e6891f870d61453c7d3dda25b2a03c5b78b46676 [file] [log] [blame]
Sebastian Pop422377c2012-01-20 22:01:23 +00001// RUN: %clang -target i686-pc-linux-gnu -### -nostdlib %s 2> %t
Nick Lewycky97864da2011-06-04 06:27:06 +00002// RUN: FileCheck < %t %s
3//
4// CHECK-NOT: start-group
Douglas Katzman78b37b02015-11-17 20:28:07 +00005
6// Most of the toolchains would check for -nostartfiles and -nostdlib
7// in a short-circuiting boolean expression, so if both of the preceding
8// options were present, the second would warn about being unused.
9// RUN: %clang -### -nostartfiles -nostdlib -target i386-apple-darwin %s \
10// RUN: 2>&1 | FileCheck %s -check-prefix=ARGSCLAIMED
11// ARGSCLAIMED-NOT: warning: