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++/52685
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
g++.dg
/
template
/
local5.C
1
struct Attribute { };
2
3
template <class T> bool operator == (const Attribute &attr, const T &value);
4
5
enum {
6
anon = 123
7
};
8
9
void test(int foo)
10
{
11
if (foo == anon) ; /* { dg-bogus "anonymous type" } */
12
}