aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/c-c++-common/pr36282-1.c
blob: abe11e7ec7f3c7d0c8f8abd04c73512237fc6308 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
/* PR middle-end/36282 */
/* { dg-do compile } */

#pragma weak bar

extern void *baz (void *dest, const void *src, __SIZE_TYPE__ n);
extern __typeof (baz) baz __asm("bazfn"); /* { dg-bogus "asm declaration ignored due to conflict with previous rename" } */

void
foo (void)
{
}