1*f4a2713aSLionel Sambuc // RUN: %clang_cc1 %s -emit-llvm -o -
2*f4a2713aSLionel Sambuc 
3*f4a2713aSLionel Sambuc 
4*f4a2713aSLionel Sambuc enum {
5*f4a2713aSLionel Sambuc   tA = 0,
6*f4a2713aSLionel Sambuc   tB = 1
7*f4a2713aSLionel Sambuc };
8*f4a2713aSLionel Sambuc 
9*f4a2713aSLionel Sambuc struct MyStruct {
10*f4a2713aSLionel Sambuc   unsigned long A;
11*f4a2713aSLionel Sambuc   void * B;
12*f4a2713aSLionel Sambuc };
13*f4a2713aSLionel Sambuc 
bar()14*f4a2713aSLionel Sambuc void bar(){
15*f4a2713aSLionel Sambuc struct MyStruct MS = { tB, 0 };
16*f4a2713aSLionel Sambuc }
17