summaryrefslogtreecommitdiff
path: root/tests/actions/test/src/compile.cpp
diff options
context:
space:
mode:
authorruki <[email protected]>2023-10-29 10:56:33 +0800
committerruki <[email protected]>2023-10-29 15:36:07 +0800
commit9998f1b9a224068fde448052758bc23e2150745f (patch)
tree08b44bf0e13fc510efced7065678f1d594429908 /tests/actions/test/src/compile.cpp
parent042c51144c1a918d75493a94094e29aeafd924ff (diff)
test compile
Diffstat (limited to 'tests/actions/test/src/compile.cpp')
-rw-r--r--tests/actions/test/src/compile.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/actions/test/src/compile.cpp b/tests/actions/test/src/compile.cpp
new file mode 100644
index 000000000..a65e463c4
--- /dev/null
+++ b/tests/actions/test/src/compile.cpp
@@ -0,0 +1,7 @@
+#include <stdio.h>
+
+int main(int argc, char** argv)
+{
+ static_assert(0, "error");
+ return 0;
+}