aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorDominique d'Humieres <dominiq@gcc.gnu.org>2019-07-01 10:05:39 +0200
committerDominique d'Humieres <dominiq@gcc.gnu.org>2019-07-01 10:05:39 +0200
commit4c40b365b86c42536bb2ed6c943a45b0bfe2b5eb (patch)
tree876629b9bca9bd30013a7083870afd9ba19bb0b4 /gcc
parent744fd446c321f78f9a1ce4ef5f83df8dcfa44a9e (diff)
downloadgcc-4c40b365b86c42536bb2ed6c943a45b0bfe2b5eb.zip
gcc-4c40b365b86c42536bb2ed6c943a45b0bfe2b5eb.tar.gz
gcc-4c40b365b86c42536bb2ed6c943a45b0bfe2b5eb.tar.bz2
gen-attrs-67.C: Add error for darwin.
2019-07-01 Dominique d'Humieres <dominiq@gcc.gnu.org> * g++.dg/cpp0x/gen-attrs-67.C: Add error for darwin. From-SVN: r272844
Diffstat (limited to 'gcc')
-rw-r--r--gcc/testsuite/ChangeLog4
-rw-r--r--gcc/testsuite/g++.dg/cpp0x/gen-attrs-67.C2
2 files changed, 5 insertions, 1 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index d6fa9db..f4cfdcf 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,3 +1,7 @@
+2019-07-01 Dominique d'Humieres <dominiq@gcc.gnu.org>
+
+ * g++.dg/cpp0x/gen-attrs-67.C: Add error for darwin.
+
2019-07-01 Richard Biener <rguenther@suse.de>
* 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 93f55c5..5d151cc 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* } }