summaryrefslogtreecommitdiffstats
path: root/test/PCH/cxx-static_assert.h
diff options
context:
space:
mode:
Diffstat (limited to 'test/PCH/cxx-static_assert.h')
-rw-r--r--test/PCH/cxx-static_assert.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/test/PCH/cxx-static_assert.h b/test/PCH/cxx-static_assert.h
new file mode 100644
index 0000000..ba41ab8
--- /dev/null
+++ b/test/PCH/cxx-static_assert.h
@@ -0,0 +1,9 @@
+// Header for PCH test cxx-static_assert.cpp
+
+
+
+
+
+template<int N> struct T {
+ static_assert(N == 2, "N is not 2!");
+};
OpenPOWER on IntegriCloud