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
PR c++/86728 - C variadic generic lambda.
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
pr51463.C
blob
472a812205aadfed6c93b3727f59539fb0613c04
1
// PR c++/51463
2
// { dg-do compile { target c++11 } }
3
4
struct A
5
{
6
static virtual int i = 0; // { dg-error "10:member .i. cannot be declared both .virtual. and .static." }
7
// { dg-error "declared as" "" { target *-*-* } .-1 }
8
};