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
/
init5.C
1
// Copyright (C) 2005 Free Software Foundation, Inc.
2
// Contributed by Nathan Sidwell 31 May 2005 <nathan@codesourcery.com>
3
4
// PR 21165. ICE on valid
5
// Origin:Volker Reichelt reichelt@gcc.gnu.org
6
7
template<typename T> bool foo()
8
{
9
const int i = T();
10
return i > 0;
11
}