repo.or.cz
/
gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
ipa-cp: Perform operations in the appropriate types (PR 118097)
[gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
concepts
/
pr67656.C
blob
2f1030e22325d6941e170d57fc06668d2ead6aa7
1
// { dg-do compile { target c++11 } }
2
// { dg-additional-options "-fconcepts" }
3
4
template<class... Xs>
5
void consume(Xs&&...) {}
6
7
template<class... Xs>
8
struct A {
9
template<class... Ys>
10
requires requires(Ys... ys) {
11
consume(Xs{ys}...);
12
}
13
A(Ys&&... ys) {
14
}
15
};
16
17
int main() {
18
A<int, long> a(55, 2);
19
}