Mercurial > hg > CbC > CbC_gcc
comparison gcc/testsuite/c-c++-common/pr94385.c @ 152:2b5abeee2509
update gcc11
author | anatofuz |
---|---|
date | Mon, 25 May 2020 07:50:57 +0900 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
145:1830386684a0 | 152:2b5abeee2509 |
---|---|
1 /* PR c++/94385 */ | |
2 /* { dg-do compile } */ | |
3 /* { dg-options "" } */ | |
4 | |
5 typedef int V __attribute__((__vector_size__(16))); | |
6 typedef float W __attribute__((__vector_size__(16))); | |
7 | |
8 void | |
9 foo (W *x, V *y) | |
10 { | |
11 *y = (({ __builtin_convertvector (*x, V); })); | |
12 } |