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
2018-11-07 Richard Biener <rguenther@suse.de>
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
constexpr-ctor11.C
blob
e22c55f7a92502561b40601a6ebd9ee2f91a15b6
1
// PR c++/55856
2
// { dg-do compile { target c++11 } }
3
4
struct A
5
{
6
A(const char *);
7
};
8
9
template <class T>
10
struct B
11
{
12
T t;
13
template <class U> constexpr B(U&& u): t(u) { }
14
};
15
16
B<A&&> b("");