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