Debian Codegraph @

gcc/testsuite/g++.dg/ext/dllimport-initialized.C

raw
1 // { dg-do compile { target i?86-*-cygwin* i?86-*-mingw* x86_64-*-mingw* } }
2
3 __attribute__((dllimport)) int i __attribute__((unused)) = 0; // { dg-error "32:definition of .int i. is marked .dllimport." }