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
match: Reject non-ssa name/min invariants in gimple_extract [PR116412]
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
template
/
nontype19.C
blob
1df78b3b3806b4d5469d00e0b387d9982221f1ad
1
// PR c++/42466
2
3
template<class IntT, IntT X>
4
struct A
5
{
6
A();
7
8
template<IntT X2>
9
A(const A<IntT, X2>& other);
10
};
11
12
int main(int argc, char** argv)
13
{
14
A<int, 42> a;
15
A<int, 100> b = a;
16
17
A<unsigned, 42u> c;
18
A<unsigned, 100u> d = c;
19
}