Debian Codegraph @

gcc/testsuite/g++.dg/ext/vector7.C

raw
1 // { dg-options "" }
2 // { dg-do compile }
3 // PR C++/31721 and PR 14217
4 // the attribute vector_size would change a reference type into a pointer type which was wrong.
5
6 #define vector __attribute__((__vector_size__(16) ))
7 vector int b;
8 vector int &a = b;