blob: c0bfd2f22bb9bbe8a0aea2324e0b0edf1abcfe68 [file] [log] [blame]
Richard Smith50895422015-01-31 03:04:55 +00001// RUN: rm -rf %t
Richard Smith2a9e5c52015-02-03 03:32:14 +00002// RUN: %clang_cc1 -fmodules -fmodules-cache-path=%t -I%S/Inputs/merge-template-members -verify -emit-llvm-only %s
Richard Smith50895422015-01-31 03:04:55 +00003// expected-no-diagnostics
4
Richard Smith2a9e5c52015-02-03 03:32:14 +00005#include "c.h"
6N::A<int> ai;
7
Richard Smith50895422015-01-31 03:04:55 +00008template<typename> struct A { int n; };
9template<typename> struct B { typedef A<void> C; };
10template class B<int>;
11
12#include "update.h"
13B<int>::C use2;