summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/pr83100-2.c
blob: 6dbe93dcd16029abdef8d177e3d0bfd6b9de5272 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
/* PR target/83100 */
/* { dg-do run } */
/* { dg-options "-O2 -fcommon -fdata-sections" } */
/* { dg-additional-sources pr83100-3.c } */
/* { dg-skip-if "-fdata-sections not supported" { hppa*-*-hpux* nvptx-*-* } } */

const int a;

int
main ()
{
  if (a != 7)
    __builtin_abort ();
  return 0;
}