1 // RUN: %clang_cc1 -fsyntax-only -verify %s
2 // expected-no-diagnostics
3
4 template <typename T> class Foo {
5 struct Base : T {};
6
7 // Test that this code no longer causes a crash in Sema. rdar://23291875
8 struct Derived : Base, T {};
9 };
10