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
/
non-dependent12.C
blob
73d7e9497668b46d09175aec4145f327ef77c4fc
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
}