diff options
Diffstat (limited to 'gcc/testsuite/g++.dg/cpp0x/gen-attrs-67.C')
-rw-r--r-- | gcc/testsuite/g++.dg/cpp0x/gen-attrs-67.C | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/testsuite/g++.dg/cpp0x/gen-attrs-67.C b/gcc/testsuite/g++.dg/cpp0x/gen-attrs-67.C index 5d151cc1bdc..3dd3a1fdc7e 100644 --- a/gcc/testsuite/g++.dg/cpp0x/gen-attrs-67.C +++ b/gcc/testsuite/g++.dg/cpp0x/gen-attrs-67.C @@ -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 } } } |