Message ID | yddvb5dlzsg.fsf@lokon.CeBiTec.Uni-Bielefeld.DE |
---|---|
State | New |
Headers | show |
# HG changeset patch # Parent 91ba3e75fb07900f8f953f4387f6a0f12031d1a6 Require init_priority support for g++.dg/ext/attr-constructor1.C diff --git a/gcc/testsuite/g++.dg/ext/attr-constructor1.C b/gcc/testsuite/g++.dg/ext/attr-constructor1.C --- a/gcc/testsuite/g++.dg/ext/attr-constructor1.C +++ b/gcc/testsuite/g++.dg/ext/attr-constructor1.C @@ -1,5 +1,5 @@ // PR c++/59281 -// { dg-do compile { target c++11 } } +// { dg-do compile { target { c++11 && init_priority } } } enum class E : int { prio = 666 }; void f (int) __attribute__((constructor(E::prio))); // { dg-error "integer" }