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
foo(int x)10 foo (int x)
11 {
12   return S::foo[x];
13 }
14