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
/cp
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
alignof2.C
1
// { dg-do compile }
2
// { dg-options "-std=c++0x -pedantic" }
3
int main(void)
4
{
5
alignof(int); //ok with a type but not with an expression
6
alignof(3); // { dg-warning "alignof" }
7
}