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
2014-01-30 Alangi Derick <alangiderick@gmail.com>
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
template
/
local5.C
blob
705dca39eb0a07b29f964963e4405fbb84352c67
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
}