OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
PR c++/51462 - ICE in cx_check_missing_mem_inits
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
constexpr-empty3.C
1
// { dg-options -std=c++0x }
2
3
struct IsLiteral {};
4
5
constexpr auto ab = IsLiteral();
6
7
constexpr IsLiteral bar(IsLiteral x) { return x; }
8
9
constexpr auto xy = bar(ab);