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
* c-decl.c (shadow_tag_warned, grokdeclarator): Handle _Alignas
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
constexpr-value3.C
1
// PR c++/50234
2
// { dg-options -std=c++0x }
3
4
#define SA(X) static_assert((X),#X)
5
6
struct A { int i; };
7
8
constexpr int f(A a) { return a.i; }
9
10
SA(f({}) == 0);