if the type's declaration was previously instantiated in an unimported module. (For an imported type definition, this already worked, because the source location is set to the location of the definition, but for locally-instantiated type definitions, it did not.) llvm-svn: 203425
7 lines
168 B
C++
7 lines
168 B
C++
#ifndef C_H
|
|
#define C_H
|
|
template<typename T> struct S { int n; };
|
|
template<typename U> struct T<U>::S { int n; };
|
|
template<typename U> enum T<U>::E : int { e };
|
|
#endif
|