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
gcc/ChangeLog:
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
cpp1z
/
class-deduction40.C
blob
3888b3992e22018f56622151a8cb0f6eb7a6685d
1
// PR c++/81180
2
// { dg-options -std=c++17 }
3
4
template < int I > struct int_{};
5
6
template < typename T >
7
struct A{
8
template < typename U, int I >
9
struct B{
10
B(U u, int_< I >){}
11
};
12
};
13
14
15
int main(){
16
A< int >::B v(0, int_< 0 >());
17
(void)v;
18
}
19