Mercurial > hg > CbC > CbC_gcc
comparison gcc/testsuite/g++.dg/torture/pr52772.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 |
---|---|
1 // { dg-do compile } | 1 // { dg-do compile } |
2 // { dg-additional-options "-Wno-return-type" } | |
2 | 3 |
3 typedef __SIZE_TYPE__ size_t; | 4 typedef __SIZE_TYPE__ size_t; |
4 | 5 |
5 class c1; | 6 class c1; |
6 | 7 |
44 c5(const c4 & box); | 45 c5(const c4 & box); |
45 int add(const c4 & ext); | 46 int add(const c4 & ext); |
46 }; | 47 }; |
47 | 48 |
48 class c6 { | 49 class c6 { |
49 public: int get() const {}; | 50 public: int get() const { return 0; }; |
50 }; | 51 }; |
51 | 52 |
52 class c7 { | 53 class c7 { |
53 friend class c8; | 54 friend class c8; |
54 int find(c6 * loop) const; | 55 int find(c6 * loop) const; |