Debian Codegraph @

gcc/testsuite/g++.dg/other/pr88568.C

raw
1 // PR c/88568
2 // { dg-do compile }
3 // { dg-require-dll "" }
4
5 struct S {
6 __attribute__((dllimport)) static const char foo[];
7 };
8
9 int
10 foo (int x)
11 {
12 return S::foo[x];
13 }