summaryrefslogtreecommitdiffstats
path: root/Tests/CompileFeatures/hip_std_11.hip
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/CompileFeatures/hip_std_11.hip')
-rw-r--r--Tests/CompileFeatures/hip_std_11.hip4
1 files changed, 4 insertions, 0 deletions
diff --git a/Tests/CompileFeatures/hip_std_11.hip b/Tests/CompileFeatures/hip_std_11.hip
new file mode 100644
index 0000000..835aebd
--- /dev/null
+++ b/Tests/CompileFeatures/hip_std_11.hip
@@ -0,0 +1,4 @@
+#include "cxx_std.h"
+#if defined(CXX_STD) && CXX_STD < CXX_STD_11
+# error "hip_std_11 not honored"
+#endif