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

NODA, Kai <[email protected]> changed:

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

--- Comment #3 from NODA, Kai <[email protected]> ---
Neither test cases crash clang trunk@306691 as of today:

/tmp/c.cpp:1:10: error: expected unqualified-id
typedef &decltype(auto)::x T;
         ^
1 error generated.

/tmp/c.cpp:1:17: warning: extra qualification on member 'crash'
[-Wextra-qualification]
decltype(auto)::crash crashed;
                ^
/tmp/c.cpp:1:17: error: no member named 'crash' in the global namespace
decltype(auto)::crash crashed;
              ~~^
/tmp/c.cpp:1:17: error: declaration of variable 'crash' with deduced type
'decltype(auto)' requires an initializer
/tmp/c.cpp:1:22: error: expected ';' after top level declarator
decltype(auto)::crash crashed;
                     ^
                     ;
1 warning and 3 errors generated.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
[email protected]
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to