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
Remove old autovect-branch by moving to "dead" directory.
[official-gcc.git]
/
old-autovect-branch
/
gcc
/
testsuite
/
g++.old-deja
/
g++.pt
/
explicit50.C
blob
4f11eda6e6cdbd3db729a359de39c11487a75cd9
1
// { dg-do run }
2
extern "C" void abort ();
3
4
template <class T> int f ()
5
{
6
return sizeof(T);
7
}
8
9
int main ()
10
{
11
if (f<long> () != sizeof(long)
12
|| f<char> () != sizeof(char)
13
|| f<long> () != sizeof(long)
14
|| f<long int> () != sizeof(long int))
15
abort ();
16
}