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-ice7.C
blob
4fa3a831454c8f66d3a41140a11cf52ba6c96bc3
1
// PR c++/57827
2
// { dg-do compile { target c++11 } }
3
4
struct C
5
{
6
constexpr int fun (int x)
7
{
8
return x + 1;
9
}
10
11
int a = 2;
12
int b = fun(a);
13
};
14
15
C c;