2015-01-31 11:04:55 +08:00
|
|
|
// RUN: rm -rf %t
|
2015-02-03 11:32:14 +08:00
|
|
|
// RUN: %clang_cc1 -fmodules -fmodules-cache-path=%t -I%S/Inputs/merge-template-members -verify -emit-llvm-only %s
|
2015-01-31 11:04:55 +08:00
|
|
|
// expected-no-diagnostics
|
|
|
|
|
2015-02-03 11:32:14 +08:00
|
|
|
#include "c.h"
|
|
|
|
N::A<int> ai;
|
|
|
|
|
2015-01-31 11:04:55 +08:00
|
|
|
template<typename> struct A { int n; };
|
|
|
|
template<typename> struct B { typedef A<void> C; };
|
|
|
|
template class B<int>;
|
|
|
|
|
|
|
|
#include "update.h"
|
|
|
|
B<int>::C use2;
|