Mercurial > hg > CbC > CbC_gcc
comparison gcc/testsuite/g++.dg/ipa/pr65002.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 } | 8 } |
9 using fastmath::floor; | 9 using fastmath::floor; |
10 class A { | 10 class A { |
11 public: | 11 public: |
12 A(int, int); | 12 A(int, int); |
13 virtual int m_fn1(float) const; | 13 virtual void m_fn1(float) const; |
14 }; | 14 }; |
15 class B : A { | 15 class B : A { |
16 public: | 16 public: |
17 B(int, int p2) : A(entity, p2) {} | 17 B(int, int p2) : A(entity, p2) {} |
18 int m_fn1(float p1) const { long b(floor(p1)); } | 18 void m_fn1(float p1) const { long b(floor(p1)); } |
19 int entity; | 19 int entity; |
20 }; | 20 }; |
21 | 21 |
22 int a; | 22 int a; |
23 void Convert() { | 23 void Convert() { |