Add test of target source without language

Add a test that trying to use a compiler in a target for a language
which hasn't been mentioned in project() or add_languages() gives an
error.
pull/6532/head
Jon Turney 5 years ago
parent cfe31d2e9d
commit 021fd9a1d0
No known key found for this signature in database
GPG Key ID: C7C86F0370285C81
  1. 3
      test cases/failing/101 no lang/main.c
  2. 2
      test cases/failing/101 no lang/meson.build

@ -0,0 +1,3 @@
int main(void) {
return 0;
}

@ -0,0 +1,2 @@
project('target without lang')
executable('main', 'main.c')
Loading…
Cancel
Save