summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/ext/is_pod_98.C
blob: 80a87c825c40d7c70fc5457548002e24129ba108 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// PR c++/43333
// { dg-options "-std=c++98" }
// { dg-do run }

struct strPOD
{
  const char *const foo;
  const char *const bar;
};
extern "C" void abort (void);
int main ()
{
  if (!__is_pod (strPOD))
    abort ();
  return 0;
}