summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/weak/weak-11.c
blob: c20135a3aaea27d05d596d2a6d8a61c963e72c65 (plain)
1
2
3
4
5
6
7
8
9
10
/* PR 19031 */
/* { dg-do compile } */
/* { dg-require-weak "" } */
/* { dg-require-alias "" } */
/* { dg-options "-funit-at-a-time" } */

/* { dg-final { scan-assembler "xyzzy" } } */

static const int local = 1; 
#pragma weak xyzzy = local