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
* g++.dg/init/new1.C, g++.dg/template/alignof1.C,
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
g++.dg
/
template
/
alignof1.C
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
}