comparison gcc/testsuite/g++.dg/asan/pr81340.C @ 131:84e7813d76e9

gcc-8.2
author mir3636
date Thu, 25 Oct 2018 07:37:49 +0900
parents 04ced10e8804
children
comparison
equal deleted inserted replaced
111:04ced10e8804 131:84e7813d76e9
8 public: 8 public:
9 int d; 9 int d;
10 a(char *) : c(0, d) {} 10 a(char *) : c(0, d) {}
11 }; 11 };
12 class e { 12 class e {
13 int f(const int &, const int &, const int &, bool, bool, bool, int, bool); 13 void f(const int &, const int &, const int &, bool, bool, bool, int, bool);
14 }; 14 };
15 class g { 15 class g {
16 public: 16 public:
17 static g *h(); 17 static g *h();
18 void i(a, void *); 18 void i(a, void *);
19 }; 19 };
20 int e::f(const int &, const int &, const int &, bool j, bool, bool, int, bool) { 20 void e::f(const int &, const int &, const int &, bool j, bool, bool, int, bool) {
21 g::h()->i("", &j); 21 g::h()->i("", &j);
22 } 22 }