Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / clang / test / CodeGenCXX / mangle-unnameable-conversions.cpp
blob2ecded05d9791345f62458d496e43cc1b329e6ab
1 // RUN: %clang_cc1 -std=c++11 -triple x86_64-apple-darwin10 -emit-llvm -o - %s | FileCheck %s
3 template<typename T> using id = T;
4 struct S {
5 template<typename T, int N>
6 operator id<T[N]>&();
7 template<typename T, typename U>
8 operator id<T (U::*)()>() const;
9 };
11 void f() {
12 int (&a)[42] = S(); // CHECK: @_ZN1ScvRAT0__T_IiLi42EEEv(
13 char (S::*fp)() = S(); // CHECK: @_ZNK1ScvMT0_FT_vEIcS_EEv(