From: Dominique d'Humieres Date: Mon, 1 Jul 2019 08:05:39 +0000 (+0200) Subject: gen-attrs-67.C: Add error for darwin. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=4c40b365b86c42536bb2ed6c943a45b0bfe2b5eb;p=gcc.git gen-attrs-67.C: Add error for darwin. 2019-07-01 Dominique d'Humieres * g++.dg/cpp0x/gen-attrs-67.C: Add error for darwin. From-SVN: r272844 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index d6fa9db2426..f4cfdcf5261 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2019-07-01 Dominique d'Humieres + + * g++.dg/cpp0x/gen-attrs-67.C: Add error for darwin. + 2019-07-01 Richard Biener * gcc.dg/tree-ssa/pr77445-2.c: Adjust. diff --git a/gcc/testsuite/g++.dg/cpp0x/gen-attrs-67.C b/gcc/testsuite/g++.dg/cpp0x/gen-attrs-67.C index 93f55c53d11..5d151cc1bdc 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(); +[[gnu::constructor(101)]] int f7(); // { dg-error "constructor priorities are not supported" "" { target *-*-darwin* } }