summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.target/i386/pr61599-1.c
blob: 847e736ac977de7196305fdb0915dc3a9daf6683 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
/* PR target/61599 */
/* { dg-options "-mcmodel=medium -fdata-sections" { target lp64 } } */
/* { dg-additional-sources pr61599-2.c } */
/* { dg-do run { target lp64 } } */

char a[1*1024*1024*1024];
char b[1*1024*1024*1024];
char c[1*1024*1024*1024];

extern int bar();
int main()
{
  return bar() + c[225];
}