aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/cpp/embed-22.C
blob: 754cac4277e1ac4d30433e17c7b654b7e23c9d7b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
// PR c++/118532
// { dg-do compile { target c++11 } }
// { dg-options "" }

struct S {
  S (int, int, int);
#define I8 int, int, int, int, int, int, int, int
#define I64 I8, I8, I8, I8, I8, I8, I8, I8
  S (I64, I64, I64, I64, I8);
};

void
foo (S &)
{
}

int
main ()
{
  S s = {
#embed __FILE__ limit (264)
  };
  foo (s);
}