aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/g++.dg/template/typename8.C
blob: 85f585d944a37798172129768f35dda8f99e4d2f (plain)
1
2
3
4
5
6
7
8
9
10
// PR c++/18738

namespace foo {
  typedef int my_type;
}

template<typename T>
struct A {
  typename foo::my_type bar();
};