summaryrefslogtreecommitdiff
path: root/test/Driver/fubsan-strip-path-components.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/Driver/fubsan-strip-path-components.cpp')
-rw-r--r--test/Driver/fubsan-strip-path-components.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/Driver/fubsan-strip-path-components.cpp b/test/Driver/fubsan-strip-path-components.cpp
new file mode 100644
index 0000000000000..130024142f20d
--- /dev/null
+++ b/test/Driver/fubsan-strip-path-components.cpp
@@ -0,0 +1,2 @@
+// RUN: %clang %s -### -o %t.o -fsanitize-undefined-strip-path-components=42 2>&1 | FileCheck %s
+// CHECK: "-fsanitize-undefined-strip-path-components=42"