Mercurial > hg > CbC > CbC_gcc
annotate gcc/testsuite/gdc.dg/pr90136c.d @ 152:2b5abeee2509
update gcc11
author | anatofuz |
---|---|
date | Mon, 25 May 2020 07:50:57 +0900 |
parents | |
children |
rev | line source |
---|---|
152 | 1 // https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93038 |
2 // { dg-do compile } | |
3 // { dg-options "-Wattributes" } | |
4 | |
5 import gcc.attribute; | |
6 | |
7 @attribute("forceinline") int sum_array(int[] input); | |
8 @attribute("noinline") int sum_array(int[] input); | |
9 // { dg-warning "ignoring attribute .noinline. because it conflicts with attribute .forceinline." "" { target *-*-* } .-1 } |