comparison gcc/testsuite/gdc.dg/asm5.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 // https://issues.dlang.org/show_bug.cgi?id=20593
2 // { dg-do compile }
3 // { dg-options "-Wall -Wdeprecated -Werror" }
4 module asm5;
5
6 void test(int a)
7 {
8 asm
9 {
10 "cpuid" : : "a" a; // { dg-error "'a' must be surrounded by parentheses" }
11 }
12 }