summaryrefslogtreecommitdiff
path: root/test/Modules/Inputs/static_assert
diff options
context:
space:
mode:
authorDimitry Andric <dim@FreeBSD.org>2016-11-25 19:07:40 +0000
committerDimitry Andric <dim@FreeBSD.org>2016-11-25 19:07:40 +0000
commit17c7957f023f02fc2c88f51f8908c19b52609275 (patch)
treec654618ff2d38e26916b49614d89fe01f4a4818d /test/Modules/Inputs/static_assert
parentc477790a57f44875b9de2043f2eb47dff2d20133 (diff)
Notes
Diffstat (limited to 'test/Modules/Inputs/static_assert')
-rw-r--r--test/Modules/Inputs/static_assert/a.h3
-rw-r--r--test/Modules/Inputs/static_assert/module.modulemap1
2 files changed, 4 insertions, 0 deletions
diff --git a/test/Modules/Inputs/static_assert/a.h b/test/Modules/Inputs/static_assert/a.h
new file mode 100644
index 000000000000..e876df06d066
--- /dev/null
+++ b/test/Modules/Inputs/static_assert/a.h
@@ -0,0 +1,3 @@
+class S {
+ static_assert(4 == 4);
+};
diff --git a/test/Modules/Inputs/static_assert/module.modulemap b/test/Modules/Inputs/static_assert/module.modulemap
new file mode 100644
index 000000000000..bb00c840ce39
--- /dev/null
+++ b/test/Modules/Inputs/static_assert/module.modulemap
@@ -0,0 +1 @@
+module a { header "a.h" }