Mercurial > hg > CbC > CbC_gcc
comparison gcc/testsuite/g++.target/aarch64/sve/acle/general-c++/type_redef_20.c @ 145:1830386684a0
gcc-9.2.0
author | anatofuz |
---|---|
date | Thu, 13 Feb 2020 11:34:05 +0900 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
131:84e7813d76e9 | 145:1830386684a0 |
---|---|
1 /* { dg-do compile } */ | |
2 | |
3 enum foo { SV_VL4 }; | |
4 typedef int SV_POW2; | |
5 int SV_ALL; | |
6 | |
7 #pragma GCC aarch64 "arm_sve.h" /* { dg-error "'SV_VL4' conflicts with a previous declaration" } */ | |
8 /* { dg-error "'SV_POW2' redeclared as different kind of entity" "" { target *-*-* } .-1 } */ | |
9 /* { dg-error "'SV_ALL' redeclared as different kind of entity" "" { target *-*-* } .-2 } */ |