repo.or.cz
/
official-gcc
/
graphite-test-results.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Remove outermost loop parameter.
[official-gcc/graphite-test-results.git]
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
defaulted7.C
blob
97c29258e988522e80d31af457e7852dcbccafb2
1
// PR c++/38701, 38702
2
// { dg-options "-std=c++0x" }
3
4
void foo() = default; // { dg-error "cannot be defaulted" }
5
namespace
6
{
7
void bar() = default; // { dg-error "cannot be defaulted" }
8
}
9
10
enum E { e };
11
12
E& operator |= (E&, const E&) = default; // { dg-error "cannot be defaulted" }