Daily bump.
[gcc.git] / gcc / testsuite / g++.dg / asan / pr81340.C
blob9db5bb46ce795cb490a7115a90bd028b533cf6fe
1 // { dg-options "-fsanitize=address -O2 -g -Wno-write-strings" }
3 class a {
4   struct b {
5     b(int, int);
6   } c;
8 public:
9   int d;
10   a(char *) : c(0, d) {}
12 class e {
13   void f(const int &, const int &, const int &, bool, bool, bool, int, bool);
15 class g {
16 public:
17   static g *h();
18   void i(a, void *);
20 void e::f(const int &, const int &, const int &, bool j, bool, bool, int, bool) {
21   g::h()->i("", &j);