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
/cp
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
constexpr-access.C
blob
569824dc57f90337efd8b38a96ba1b82baa2ad29
1
// { dg-do compile { target c++11 } }
2
3
class base
4
{
5
protected:
6
constexpr base() { }
7
};
8
9
struct A : base { };
10
11
int main()
12
{
13
A a;
14
}