[clang][lex] NFCI: Use DirectoryEntryRef in ModuleMap::inferFrameworkModule()
[llvm-project.git] / clang / test / SemaTemplate / member-initializers.cpp
blob6791048874f8f1e18d8659ff1ca2f766f393a2c8
1 // RUN: %clang_cc1 -fsyntax-only -verify %s
2 // expected-no-diagnostics
4 template<typename T> struct A {
5 A() : j(10), i(10) { }
7 int i;
8 int j;
9 };
11 template<typename T> struct B : A<T> {
12 B() : A<T>() { }