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

Anton Korobeynikov <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |[email protected]
         Resolution|---                         |FIXED

--- Comment #1 from Anton Korobeynikov <[email protected]> ---
I'm seeing:

$ clang++ 1.cpp 
1.cpp:6:6: error: expected the class name after '~' to name a destructor
    ~decltype(*c)() { printf("DECLTYPE DESTROY\n"); }
     ^
1.cpp:6:16: error: C++ requires a type specifier for all declarations
    ~decltype(*c)() { printf("DECLTYPE DESTROY\n"); }
              ~^
1.cpp:10:8: error: expected ';' at end of declaration
    C c{};
       ^
       ;

So, fixed after 3.1

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