aboutsummaryrefslogtreecommitdiffstats
path: root/meson/test cases/common/68 should fail
diff options
context:
space:
mode:
Diffstat (limited to 'meson/test cases/common/68 should fail')
-rw-r--r--meson/test cases/common/68 should fail/failing.c3
-rw-r--r--meson/test cases/common/68 should fail/meson.build4
2 files changed, 7 insertions, 0 deletions
diff --git a/meson/test cases/common/68 should fail/failing.c b/meson/test cases/common/68 should fail/failing.c
new file mode 100644
index 000000000..3e70e5079
--- /dev/null
+++ b/meson/test cases/common/68 should fail/failing.c
@@ -0,0 +1,3 @@
+int main(void) {
+ return 1;
+}
diff --git a/meson/test cases/common/68 should fail/meson.build b/meson/test cases/common/68 should fail/meson.build
new file mode 100644
index 000000000..dffbbb381
--- /dev/null
+++ b/meson/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)