Commit 4c40b365 by Dominique d'Humieres

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
parent 744fd446
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.
......
......@@ -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* } }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment