• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 // RUN: %clang_cc1 -verify %s
2 
3 // expected-no-diagnostics
4 
5 struct A { int n; };
6 struct B { float n; };
7 struct C : A, B {};
8 struct D : virtual C {};
9 struct E : virtual C { char n; };
10 struct F : D, E {} f;
11 char &k = f.n;
12