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

Reid Kleckner <[email protected]> changed:

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

--- Comment #2 from Reid Kleckner <[email protected]> ---
It seems clang correctly rejects this code today:

$ clang -c t.cpp
t.cpp:5:22: error: qualified reference to 'Widget' is a constructor name rather
than a type in this context
  Widget x = Widget::Widget();
                     ^
1 error generated.

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

Reply via email to