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
2014-02-26 Fabien Chene <fabien@gcc.gnu.org>
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
g++.dg
/
template
/
sizeof3.C
1
// The call to f is not potentially evaluated (3.2), so f<int> is not used,
2
// so it should not be required.
3
4
template <class T>
5
T f (T)
6
{
7
typename T::X x;
8
}
9
10
int main()
11
{
12
int i = sizeof (f(0));
13
}