OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
PR c++/30849
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
g++.dg
/
parse
/
decl-specifier-1.C
1
// Contributed by Gabriel Dos Reis <gdr@integrable-solutions.net>
2
// Origin: PRs 7721 and 7803
3
// { dg-do compile }
4
5
namespace N
6
{
7
template<typename>
8
struct X { };
9
}
10
11
N::X X; // { dg-error "" "" }
12
13
int main()
14
{
15
return sizeof(X); // { dg-error "" "" }
16
}