Check init_priority in g++.dg/cpp0x/gen-attrs-67.C
gcc/testsuite: * g++.dg/cpp0x/gen-attrs-67.C: Expect constructor priorities error on any !init_priority target. From-SVN: r276510
This commit is contained in:
parent
eec306385d
commit
a164d19acb
2 changed files with 6 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
|||
2019-10-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
|
||||
|
||||
* g++.dg/cpp0x/gen-attrs-67.C: Expect constructor priorities error
|
||||
on any !init_priority target.
|
||||
|
||||
2019-10-03 Thomas Koenig <tkoenig@gcc.gnu.org>
|
||||
|
||||
PR fortran/84487
|
||||
|
|
|
@ -8,4 +8,4 @@
|
|||
[[nodiscard()]] int f4(); // { dg-error ".nodiscard. attribute does not take any arguments" }
|
||||
[[gnu::noinline()]] int f5(); // { dg-error ".noinline. attribute does not take any arguments" }
|
||||
[[gnu::constructor]] int f6();
|
||||
[[gnu::constructor(101)]] int f7(); // { dg-error "constructor priorities are not supported" "" { target *-*-darwin* } }
|
||||
[[gnu::constructor(101)]] int f7(); // { dg-error "constructor priorities are not supported" "" { target { ! init_priority } } }
|
||||
|
|
Loading…
Add table
Reference in a new issue