repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
c++: P0847R7 (deducing this) - xobj lambdas. [PR102609]
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
cpp2a
/
nontype-class49.C
blob
c83e4075ed070f12845cf76734dc6233b22f27e1
1
// PR c++/101883
2
// { dg-do compile { target c++20 } }
3
4
template<class T> struct C { constexpr C(int) { } };
5
explicit C(int) -> C<int>;
6
7
template<C c> struct X { };
8
X<1> x; // { dg-error "deduction|no match" }