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
* decl.c (make_typename_type): s/parameters/arguments/.
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
constexpr-ctor5.C
blob
abfc72c8fdd8fa3ee40cdf53fe6629475a08f884
1
// PR c++/46877
2
// { dg-do compile { target c++11 } }
3
4
struct new_allocator
5
{
6
constexpr new_allocator ();
7
};
8
9
struct string
10
{
11
constexpr string ()
12
{
13
}
14
new_allocator a;
15
};
16
17
struct pair
18
{
19
const string first;
20
constexpr pair ()
21
{
22
}
23
};
24
25
constexpr
26
new_allocator::new_allocator ()
27
{
28
}
29
30
pair p;