repo.or.cz
/
netbsd-mini2440.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Sync usage with man page.
[netbsd-mini2440.git]
/
gnu
/
dist
/
gcc4
/
gcc
/
testsuite
/
g++.dg
/
template
/
alignof1.C
blob
50a32183cfc74a702b71c127927c0767ffddef0b
1
template<typename T>
2
int my_alignof()
3
{
4
return __alignof__(T);
5
}
6
7
template<typename>
8
struct X { };
9
10
int main()
11
{
12
return my_alignof<X<void> >();
13
}