blob: 4d9e1f7466debd719cabdc09d56a7344f7342936 [file] [log] [blame]
Jean-Daniel Dupas73d801c2012-05-04 08:08:37 +00001// RUN: %clang -### -Wlarge-by-value-copy %s 2>&1 | FileCheck -check-prefix=LARGE_VALUE_COPY_DEFAULT %s
2// LARGE_VALUE_COPY_DEFAULT: -Wlarge-by-value-copy=64
3// RUN: %clang -### -Wlarge-by-value-copy=128 %s 2>&1 | FileCheck -check-prefix=LARGE_VALUE_COPY_JOINED %s
4// LARGE_VALUE_COPY_JOINED: -Wlarge-by-value-copy=128
Chad Rosier286852a2012-05-16 19:28:02 +00005
Chad Rosier567fcd72012-12-19 23:47:16 +00006// Check that -isysroot warns on nonexistent paths.
Chad Rosier6c2b11c2012-12-19 23:41:50 +00007// RUN: %clang -### -c -target i386-apple-darwin10 -isysroot /FOO %s 2>&1 | FileCheck --check-prefix=CHECK-ISYSROOT %s
NAKAMURA Takumi712c3882012-12-20 11:08:13 +00008// CHECK-ISYSROOT: warning: no such sysroot directory: '{{([A-Za-z]:.*)?}}/FOO'