http://llvm.org/bugs/show_bug.cgi?id=20047

            Bug ID: 20047
           Summary: MS ABI: Template aliases crash clang
           Product: clang
           Version: unspecified
          Hardware: PC
                OS: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: LLVM Codegen
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected]
    Classification: Unclassified

consider:
template <typename T>
struct vector {};

template <typename T>
using Vec = vector<T>;

template <template <typename> class>
void h();

void z() {
  h<Vec>();
}

run with:
~/llvm/build/bin/clang -cc1 -x c++ -triple i386-pc-win32
/var/tmp/mangle-alias-template.cpp -emit-llvm -std=c++11 -fms-compatibility -o
-

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs

Reply via email to