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
Merge with main truk.
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
alignof2.C
blob
d571d9d77dc66d51ea11a21223acbae4ce20f74a
1
// { dg-do compile { target c++11 } }
2
// { dg-options "-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
}