Mercurial > hg > CbC > CbC_gcc
view gcc/testsuite/g++.dg/template/pr54310.C @ 111:04ced10e8804
gcc 7
author | kono |
---|---|
date | Fri, 27 Oct 2017 22:46:09 +0900 |
parents | |
children |
line wrap: on
line source
// PR c++/54310 template <typename T> struct meta { typedef typename T::type type; }; struct S{}; template <typename T> typename meta<T>::type foo(T, S); int foo(int, int); int main() { foo(0, 0); }