Mercurial > hg > CbC > CbC_gcc
annotate 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 |
rev | line source |
---|---|
111 | 1 // { dg-options "-fsanitize=address -O2 -g -Wno-write-strings" } |
2 | |
3 class a { | |
4 struct b { | |
5 b(int, int); | |
6 } c; | |
7 | |
8 public: | |
9 int d; | |
10 a(char *) : c(0, d) {} | |
11 }; | |
12 class e { | |
131 | 13 void f(const int &, const int &, const int &, bool, bool, bool, int, bool); |
111 | 14 }; |
15 class g { | |
16 public: | |
17 static g *h(); | |
18 void i(a, void *); | |
19 }; | |
131 | 20 void e::f(const int &, const int &, const int &, bool j, bool, bool, int, bool) { |
111 | 21 g::h()->i("", &j); |
22 } |