Sebastian Pop | 422377c | 2012-01-20 22:01:23 +0000 | [diff] [blame] | 1 | // RUN: %clang -target i686-pc-linux-gnu -### -nostdlib %s 2> %t |
Nick Lewycky | 97864da | 2011-06-04 06:27:06 +0000 | [diff] [blame] | 2 | // RUN: FileCheck < %t %s |
| 3 | // |
| 4 | // CHECK-NOT: start-group |
Douglas Katzman | 78b37b0 | 2015-11-17 20:28:07 +0000 | [diff] [blame^] | 5 | |
| 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: |