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-47969.C
blob
933831b94de5a567eeca15ea2f2a24aed10a3cd0
1
// PR c++/47969
2
// { dg-do compile { target c++11 } }
3
4
struct A
5
{
6
// constexpr operator int () { return 1; }
7
};
8
9
constexpr A a = A();
10
11
int ar[a]; // { dg-error "has non-integral type" }