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
RISC-V: Fix factor in dwarf_poly_indeterminate_value [PR116305]
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
cpp2a
/
pr88537.C
blob
8d59643037b4f9f3c43fa059301a8dec7d806d6f
1
// { dg-do compile { target c++20 } }
2
// { dg-options "-g" }
3
4
struct pair {
5
unsigned a;
6
unsigned b;
7
constexpr pair(unsigned _a, unsigned _b) noexcept: a{_a}, b{_b} { }
8
};
9
10
template <pair p> void fnc() {
11
12
}
13
14
void f() {
15
fnc<pair(10,20)>();
16
}