summaryrefslogtreecommitdiffstats
path: root/clang/test/Analysis/Inputs/system-header-simulator-for-nullability-cxx.h
diff options
context:
space:
mode:
Diffstat (limited to 'clang/test/Analysis/Inputs/system-header-simulator-for-nullability-cxx.h')
-rw-r--r--clang/test/Analysis/Inputs/system-header-simulator-for-nullability-cxx.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/clang/test/Analysis/Inputs/system-header-simulator-for-nullability-cxx.h b/clang/test/Analysis/Inputs/system-header-simulator-for-nullability-cxx.h
new file mode 100644
index 00000000000..fe620c9ff19
--- /dev/null
+++ b/clang/test/Analysis/Inputs/system-header-simulator-for-nullability-cxx.h
@@ -0,0 +1,9 @@
+#pragma clang system_header
+
+struct S {
+ ~S(){}
+};
+
+void foo() {
+ S s;
+}
OpenPOWER on IntegriCloud