Mercurial > hg > CbC > CbC_gcc
comparison gcc/testsuite/g++.dg/opt/pr69432.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 |
---|---|
24 void f4 (S, U); | 24 void f4 (S, U); |
25 | 25 |
26 struct C | 26 struct C |
27 { | 27 { |
28 template <typename S, typename T, typename U> | 28 template <typename S, typename T, typename U> |
29 static S f5 (S x, T y, U z) { f2 (x, y, z); } | 29 static S f5 (S x, T y, U z) { f2 (x, y, z); return S(); } |
30 }; | 30 }; |
31 | 31 |
32 template <typename S, typename T, typename U> | 32 template <typename S, typename T, typename U> |
33 void f6 (S x, T y, U z) { C::f5 (x, y, z); } | 33 void f6 (S x, T y, U z) { C::f5 (x, y, z); } |
34 | 34 |