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
/
static28.C
1
// PR c++/29518
2
3
template< bool C > int assertion_failed( int);
4
template< class >
5
struct N
6
{
7
static bool const okay = true;
8
enum {
9
t = sizeof( assertion_failed<okay>( 0))
10
};
11
};
12
int main()
13
{
14
N<int> n;
15
}