https://bugs.llvm.org/show_bug.cgi?id=40608
Paul Scharnofske <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |WORKSFORME
Status|NEW |RESOLVED
--- Comment #1 from Paul Scharnofske <[email protected]> ---
No longer reproducible:
$ clang++ --version
clang version 9.0.0 (https://github.com/llvm/llvm-project.git
81eec58a0d55acde898e861ad99a6b329c364764)
Target: x86_64-unknown-linux-gnu
Thread model: posix
InstalledDir: /opt/bin
$ cat > main.cc <<EOF
template <typename T> struct A {
template <bool U> void a() {}
};
template <typename T> struct B : A<T> {
void b() {
using A<T>::a;
a<true>(); // crash
}
};
EOF
$ clang++ -c main.cc
main.cc:8:13: error: expected expression
a<true>(); // crash
^
1 error generated.
--
You are receiving this mail because:
You are on the CC list for the bug._______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs