summaryrefslogtreecommitdiffstats
path: root/test cases/common/68 should fail
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--test cases/common/68 should fail/failing.c3
-rw-r--r--test cases/common/68 should fail/meson.build4
2 files changed, 7 insertions, 0 deletions
diff --git a/test cases/common/68 should fail/failing.c b/test cases/common/68 should fail/failing.c
new file mode 100644
index 0000000..3e70e50
--- /dev/null
+++ b/test cases/common/68 should fail/failing.c
@@ -0,0 +1,3 @@
+int main(void) {
+ return 1;
+}
diff --git a/test cases/common/68 should fail/meson.build b/test cases/common/68 should fail/meson.build
new file mode 100644
index 0000000..dffbbb3
--- /dev/null
+++ b/test cases/common/68 should fail/meson.build
@@ -0,0 +1,4 @@
+project('should fail', 'c')
+
+exe = executable('prog', 'failing.c')
+test('failing', exe, should_fail : true)