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
/cp
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
g++.dg
/
ext
/
typeof10.C
1
// PR c++/20552
2
// Origin: Ivan Godard <igodard@pacbell.net>
3
4
template<int> struct A
5
{
6
void foo()
7
{
8
typedef int T; // { dg-error "previous" }
9
typedef __typeof__(*this) T; // { dg-error "conflicting" }
10
}
11
};