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
/
pr79652.C
blob
7f86f5ff629ae5b9fed93d7a3a390cc28601b4ca
1
// { dg-do compile { target c++11 } }
2
3
namespace {
4
struct S {
5
int n;
6
} T;
7
using T = decltype(S :: n); // { dg-error "redeclared" }
8
namespace {
9
extern int x;
10
extern int x;
11
}
12
}