https://llvm.org/bugs/show_bug.cgi?id=23399

            Bug ID: 23399
           Summary: incomplete type bug with clang
           Product: clang
           Version: trunk
          Hardware: PC
                OS: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: C++14
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected]
    Classification: Unclassified

Created attachment 14278
  --> https://llvm.org/bugs/attachment.cgi?id=14278&action=edit
preprocessed code

The attached code fails to compile with clang which using -std=c++14. I expect
it's a bug because the type should be complete when the function is
instantiated.

The code compiles fine with intel's c++ compiler (EDG) and gcc.

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