pr77285-2.C: Require tls_native support.
[gcc.git] / gcc / testsuite / g++.dg / pr80287.C
1 // PR c++/80287
2 // { dg-do compile { target c++11 } }
3 // { dg-options "-g" }
4
5 struct A {
6 operator long() { return 0; }
7 } __attribute__((__may_alias__));
8
9 struct {
10 A ino;
11 } a;
12
13 char b = a.ino;