http://llvm.org/bugs/show_bug.cgi?id=4120
Eli Friedman <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |[email protected] Resolution| |FIXED --- Comment #2 from Eli Friedman <[email protected]> 2011-04-24 16:58:54 CDT --- template<typename t> class f; typedef int a; int b = static_cast<::a>(4); template<> class f <::a> { }; <stdin>:3:20: error: found '<::' after a static_cast which forms the digraph '<:' (aka '[') and a ':', did you mean '< ::'? int b = static_cast<::a>(4); ^~~ < :: <stdin>:5:9: error: found '<::' after a template name which forms the digraph '<:' (aka '[') and a ':', did you mean '< ::'? class f <::a> { ^~~ < :: -- Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email ------- 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
