Daniel Dunbar | a572887 | 2009-12-15 20:14:24 +0000 | [diff] [blame] | 1 | // RUN: %clang_cc1 -emit-llvm-only %s -verify |
Eli Friedman | 2ce79bc | 2009-12-10 08:51:23 +0000 | [diff] [blame] | 2 | // PR5730 |
3 | |||||
4 | struct A { operator int(); float y; }; | ||||
5 | struct B : A { double z; }; | ||||
6 | void a() { switch(B()) {} } | ||||
7 |