summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/pragma-ep-3.c
blob: a3e1e6e6845e4236eeeee48b2a49baf958d32cda (plain)
1
2
3
4
5
6
7
8
9
10
/* { dg-do compile { target alpha*-*-osf5* } } */
/* { dg-final { scan-assembler ",Xfoo" } } */

#pragma extern_prefix "X"
void foo(void) __attribute__((noreturn));
void foo(void) __attribute__((noreturn));
void bar()
{
  foo();
}