summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/pr29299.c
blob: 9049060fae452d71e624bc46d49a04cd1354767d (plain)
1
2
3
4
5
6
7
8
9
10
/* { dg-do compile } */
/* { dg-options "-O" } */

static int bof __attribute__((used));
int foo()
{
	static int barbarbarbar __attribute__((used));
};

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