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++/24163
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
g++.dg
/
template
/
non-dependent12.C
1
// Copyright (C) 2005 Free Software Foundation, Inc.
2
// Contributed by Nathan Sidwell 8 Mar 2005 <nathan@codesourcery.com>
3
4
// PR 20186: ICE
5
// Origin: Jan Dvorak <jan.dvorak@kraxnet.cz>
6
7
template<typename T> void foo(T &t)
8
{
9
int i = static_cast<int>(t);
10
}