Jan Korous | fda9dae | 2018-01-13 15:24:16 +0000 | [diff] [blame] | 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 | }; |