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

            Bug ID: 20897
           Summary: Assertion failed: "Invalid GetElementPtrInst indices
                    for type"
           Product: clang
           Version: trunk
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: normal
          Priority: P
         Component: C++
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected], [email protected]
    Classification: Unclassified

class Base
{
};

class BB : virtual Base
{
};

class __declspec(dllexport) AA : BB
{
    int a;
    int b;
};

$ clang++.exe -c test.cpp
Assertion failed: Ty && "Invalid GetElementPtrInst indices for type!", file
llvm/IR/Instructions.h, line 782
clang++.exe: error: clang frontend command failed with exit code 3 (use -v to
see invocation)
clang version 3.6.0 (217361)
Target: x86_64-pc-windows-msvc
Thread model: posix

-- 
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