From 4c40b365b86c42536bb2ed6c943a45b0bfe2b5eb Mon Sep 17 00:00:00 2001 From: Dominique d'Humieres Date: Mon, 1 Jul 2019 10:05:39 +0200 Subject: [PATCH] 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 --- gcc/testsuite/ChangeLog | 4 ++++ gcc/testsuite/g++.dg/cpp0x/gen-attrs-67.C | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) 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* } } -- 2.30.2