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
PR c++/81917 - ICE with void_t and partial specialization.
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
opt
/
pr17411-1.C
blob
62b57a5a7f51fac167aae00c1ffcd81dd9738879
1
// PR middle-end/17411
2
// { dg-do compile }
3
// { dg-options "-O2" }
4
5
struct CalibData {
6
float mean_pedestal;
7
};
8
9
struct pair
10
{
11
CalibData second;
12
pair(const CalibData& __b) : second(__b) { }
13
};
14
15
void insert(const pair& __x);
16
17
void foo()
18
{
19
insert(pair(CalibData()));
20
}
21