summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/pr65780-2.c
blob: 932cbe1c4dd6e2f3c63864ac868f7eddd75907d1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
/* PR target/65780 */
/* { dg-do link { target *-*-linux* *-*-gnu* *-*-uclinux* } } */
/* { dg-require-effective-target pie } */
/* { dg-options "-O2 -fpie" } */

int optopt;

int
main ()
{
  optopt = 4;
  return 0;
}