Dan Gohman | f17a25c | 2007-07-18 16:29:46 +0000 | [diff] [blame] | 1 | // RUN: %llvmgxx -S %s -o - |
2 | |||||
3 | struct PrefMapElem { | ||||
4 | virtual ~PrefMapElem(); | ||||
5 | unsigned int fPrefId; | ||||
6 | }; | ||||
7 | |||||
8 | int foo() { | ||||
9 | PrefMapElem* fMap; | ||||
10 | if (fMap[0].fPrefId == 1) | ||||
11 | return 1; | ||||
12 | |||||
13 | return 0; | ||||
14 | } |