Home | History | Annotate | Download | only in CodeGenCXX
      1 // RUN: %clang_cc1 -emit-llvm -triple mipsel--linux-gnu -mconstructor-aliases -o - %s | FileCheck %s
      2 
      3 // The target attribute code used to get confused with aliases. Make sure
      4 // we don't crash when an alias is used.
      5 
      6 struct B {
      7   B();
      8 };
      9 B::B() {
     10 }
     11 
     12 // CHECK: @_ZN1BC1Ev = alias void (%struct.B*)* @_ZN1BC2Ev
     13