summaryrefslogtreecommitdiff
path: root/clang/test/CXX/temp/temp.res/temp.local/p7.cpp
blob: bd05e756a19e772fb34c4473ac7106d54cc84285 (about) (plain)
1
2
3
4
5
6
7
8
9
10
// RUN: %clang_cc1 -fsyntax-only -verify %s

template<class T> struct A { 
  int B;
  int f();
}; 

template<class B> int A<B>::f() {
  return B;
}