Any hashing for methods should be able to compile this test case without emitting an error. Since the class and method come from the same header from each module, there should be no messages about ODR violations. llvm-svn: 321924
12 lines
135 B
C++
12 lines
135 B
C++
#ifndef Class
|
|
#define Class
|
|
template <class T>
|
|
class S {
|
|
int Field;
|
|
void run() {
|
|
int x;
|
|
A::Check(&Field, 1);
|
|
}
|
|
};
|
|
#endif
|