comparison gcc/testsuite/gdc.test/fail_compilation/fail19182.d @ 19:2b5abeee2509 default tip

update gcc11
author anatofuz
date Mon, 25 May 2020 07:50:57 +0900
parents
children
comparison
equal deleted inserted replaced
18:1830386684a0 19:2b5abeee2509
1 // REQUIRED_ARGS: -c
2 /*
3 TEST_OUTPUT:
4 ---
5 gigi
6 fail_compilation/fail19182.d(12): Error: `pragma(msg)` is missing a terminating `;`
7 ---
8 */
9
10 void foo()
11 {
12 pragma(msg, "gigi") // Here
13 static foreach (e; [])
14 {
15 pragma(msg, "lili");
16 }
17
18 }