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
FSF GCC merge 02/23/03
[official-gcc.git]
/
gcc
/
testsuite
/
g++.old-deja
/
g++.pt
/
explicit50.C
blob
8c424cc744cbbce36c9b22382d653f558bfb9e3b
1
extern "C" void abort ();
2
3
template <class T> int f ()
4
{
5
return sizeof(T);
6
}
7
8
int main ()
9
{
10
if (f<long> () != sizeof(long)
11
|| f<char> () != sizeof(char)
12
|| f<long> () != sizeof(long)
13
|| f<long int> () != sizeof(long int))
14
abort ();
15
}