Merge from mainline (167278:168000).
[official-gcc/graphite-test-results.git] / gcc / testsuite / g++.dg / ext / vector7.C
blobcd259b1a2581407e887ab43c546aaee251a7ce30
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.
6 #define vector __attribute__((__vector_size__(16) ))
7 vector int b;
8 vector int &a = b;