https://bugs.llvm.org/show_bug.cgi?id=50590
Bug ID: 50590
Summary: Assertion `!A->getDeducedType().isNull() && "cannot
request the size of an undeduced or dependent auto
type"' failed
Product: clang
Version: trunk
Hardware: PC
OS: All
Status: NEW
Severity: enhancement
Priority: P
Component: C++11
Assignee: unassignedclangb...@nondot.org
Reporter: sguel...@redhat.com
CC: blitzrak...@gmail.com, dgre...@apple.com,
erik.pilking...@gmail.com, llvm-bugs@lists.llvm.org,
richard-l...@metafoo.co.uk
This may be a duplicate of existing bugs, but the reproducer is super simple,
so I'm keeping track of it here
```
template <typename>
struct pack {
template <typename T>
// OK : constexpr static bool some_boolean_cx_value = true;
constexpr static auto some_boolean_cx_value = true;
};
void usage() {
pack<char>::some_boolean_cx_value<int>;
}
```
Interestingly, the bug got introduced between clang 8 and clang 9
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs