summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/torture/pr49720.C
blob: c5da7ba670f1c831531d30ea279e6b384826a781 (plain)
1
2
3
4
5
6
7
8
/* { dg-do compile } */

extern char t_start[], t_end[], t_size[];
bool foo (void)
{
  long size = reinterpret_cast<long>(t_size);
  return (size == t_end - t_start);
}