summaryrefslogtreecommitdiffstats
path: root/clang/test/Driver/warning-options.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'clang/test/Driver/warning-options.cpp')
-rw-r--r--clang/test/Driver/warning-options.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/clang/test/Driver/warning-options.cpp b/clang/test/Driver/warning-options.cpp
new file mode 100644
index 00000000000..a36210d7e1b
--- /dev/null
+++ b/clang/test/Driver/warning-options.cpp
@@ -0,0 +1,4 @@
+// RUN: %clang -### -Wlarge-by-value-copy %s 2>&1 | FileCheck -check-prefix=LARGE_VALUE_COPY_DEFAULT %s
+// LARGE_VALUE_COPY_DEFAULT: -Wlarge-by-value-copy=64
+// RUN: %clang -### -Wlarge-by-value-copy=128 %s 2>&1 | FileCheck -check-prefix=LARGE_VALUE_COPY_JOINED %s
+// LARGE_VALUE_COPY_JOINED: -Wlarge-by-value-copy=128
OpenPOWER on IntegriCloud