https://bugs.llvm.org/show_bug.cgi?id=33877
Bug ID: 33877
Summary: failure to report ambiguity between variable template
and non-template variable
Product: clang
Version: unspecified
Hardware: PC
OS: All
Status: NEW
Severity: enhancement
Priority: P
Component: C++14
Assignee: unassignedclangb...@nondot.org
Reporter: richard-l...@metafoo.co.uk
CC: llvm-bugs@lists.llvm.org
Clang fails to report an ambiguity between a variable template and a
non-template when followed by <. Eg:
inline namespace {
template<int n> constexpr double pi{3.141592653589793};
}
constexpr double pi{3.141592653589793};
double v = pi<0>;
... is accepted despite being invalid due to ambiguity.
(Filed on behalf of Lev Minkovsky)
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs