// RUN: %clang_cc1 -ast-print -std=c++14 %s | FileCheck %s
// CHECK: ns::Wrapper::Inner::Inner(int)
// CHECK: ns::Wrapper::Inner::~Inner()
// CHECK: template <typename T> void ::ns::Wrapper::Inner::member()
ns::Wrapper::Inner::operator int
// CHECK: ns::Wrapper::Inner::operator int()
// CHECK: ns::Wrapper::Inner::operator ::ns::Wrapper()
;
void
// CHECK: template <int x, typename T> void TemplateRecord<x, T>::function()
void
// CHECK: template <int x, typename T> template <typename U> void TemplateRecord<x, T>::functionTemplate(T, U)
;
void
// CHECK: void TemplateRecord<0, int>::function()
void
// CHECK: template <typename U> void TemplateRecord<0, int>::functionTemplate(int, U)
;
void OuterTemplateRecord<T>::Inner<U>
// CHECK: template <typename T> template <typename U> void OuterTemplateRecord<T>::Inner<U>::function()