Debian Codegraph @

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

raw
1 // PR c++/100517
2 // { dg-options "" }
3
4 typedef int __v2si __attribute__ ((__vector_size__ (8)));
5
6 struct S { };
7
8 void
9 f (S s)
10 {
11 (void) reinterpret_cast<__v2si> (s); // { dg-error "" }
12 }