summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/parse/attr-ctor1.C
blob: 23d488a20031d8d9e656597aaaf3dd3ca9d98a17 (plain)
1
2
3
4
5
6
7
8
9
// PR c++/6992
// Origin: <petr@scssoft.com>
// { dg-do compile }
// { dg-require-named-sections "" }

class A
{
    __attribute__((section("whatever"))) A();
};