Debian Codegraph @

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

raw
1 // PR c++/102399
2 // { dg-do compile { target c++11 } }
3 // Test mixing the GNU and standard forms of attributes.
4
5 #define EXPORT __attribute__((visibility("default")))
6
7 struct [[nodiscard]] EXPORT Foo { Foo(); };