summaryrefslogtreecommitdiffstats
path: root/test cases/failing/103 compiler no lang
diff options
context:
space:
mode:
Diffstat (limited to 'test cases/failing/103 compiler no lang')
-rw-r--r--test cases/failing/103 compiler no lang/meson.build2
-rw-r--r--test cases/failing/103 compiler no lang/test.json7
2 files changed, 9 insertions, 0 deletions
diff --git a/test cases/failing/103 compiler no lang/meson.build b/test cases/failing/103 compiler no lang/meson.build
new file mode 100644
index 0000000..366bbdd
--- /dev/null
+++ b/test cases/failing/103 compiler no lang/meson.build
@@ -0,0 +1,2 @@
+project('compiler without lang')
+meson.get_compiler('c')
diff --git a/test cases/failing/103 compiler no lang/test.json b/test cases/failing/103 compiler no lang/test.json
new file mode 100644
index 0000000..123dcb9
--- /dev/null
+++ b/test cases/failing/103 compiler no lang/test.json
@@ -0,0 +1,7 @@
+{
+ "stdout": [
+ {
+ "line": "test cases/failing/103 compiler no lang/meson.build:2:6: ERROR: Tried to access compiler for language \"c\", not specified for host machine."
+ }
+ ]
+}