xref: /minix3/external/bsd/llvm/dist/clang/test/Driver/warning-options.cpp (revision 0a6a1f1d05b60e214de2f05a7310ddd1f0e590e7)
1*f4a2713aSLionel Sambuc // RUN: %clang -### -Wlarge-by-value-copy %s 2>&1 | FileCheck -check-prefix=LARGE_VALUE_COPY_DEFAULT %s
2*f4a2713aSLionel Sambuc // LARGE_VALUE_COPY_DEFAULT: -Wlarge-by-value-copy=64
3*f4a2713aSLionel Sambuc // RUN: %clang -### -Wlarge-by-value-copy=128 %s 2>&1 | FileCheck -check-prefix=LARGE_VALUE_COPY_JOINED %s
4*f4a2713aSLionel Sambuc // LARGE_VALUE_COPY_JOINED: -Wlarge-by-value-copy=128
5*f4a2713aSLionel Sambuc 
6*f4a2713aSLionel Sambuc // Check that -isysroot warns on nonexistent paths.
7*f4a2713aSLionel Sambuc // RUN: %clang -### -c -target i386-apple-darwin10 -isysroot /FOO %s 2>&1 | FileCheck --check-prefix=CHECK-ISYSROOT %s
8*f4a2713aSLionel Sambuc // CHECK-ISYSROOT: warning: no such sysroot directory: '{{([A-Za-z]:.*)?}}/FOO'
9