http://llvm.org/bugs/show_bug.cgi?id=6918
Douglas Gregor <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |INVALID --- Comment #1 from Douglas Gregor <[email protected]> 2010-04-24 10:13:08 CDT --- Clang is right to reject this. ABS is looked up at template definition time (which finds nothing), then augmented by the results of argument-dependent lookup (which does not add anything, since "float" has no associated namespaces). GCC does extra lookups not permitted by the C++ standard, and therefore accepts this ill-formed code. -- 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
