[llvm-bugs] [Bug 42362] New: Trunk regression: nested name specifier for a declaration cannot depend on a template parameter
via llvm-bugs
llvm-bugs at lists.llvm.org
Sat Jun 22 23:53:38 PDT 2019
https://bugs.llvm.org/show_bug.cgi?id=42362
Bug ID: 42362
Summary: Trunk regression: nested name specifier for a
declaration cannot depend on a template parameter
Product: clang
Version: trunk
Hardware: PC
OS: Linux
Status: NEW
Severity: enhancement
Priority: P
Component: C++17
Assignee: unassignedclangbugs at nondot.org
Reporter: andyg1001 at hotmail.co.uk
CC: blitzrakete at gmail.com, erik.pilkington at gmail.com,
llvm-bugs at lists.llvm.org, richard-llvm at metafoo.co.uk
The following code fails to compile in trunk (r364144) and is a regression
compared to released clang 8.0 and earlier:
template <auto...> struct X {
struct Y;
};
template <auto... S> struct X<S...>::Y {
};
The error is:
<source>:5:31: error: nested name specifier for a declaration cannot depend on
a template parameter
template <auto... S> struct X<S...>::Y {
^~~~~~~~~
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20190623/016943ad/attachment.html>
More information about the llvm-bugs
mailing list