repo.or.cz
/
gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Fortran: Fix PR 47485.
[gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
alignof5.C
blob
09354d3e1d012fed88768c77999f7e9fe10b2310
1
// PR c++/90736 - bogus error with alignof.
2
// { dg-do compile { target c++11 } }
3
4
constexpr int fn(const int b) { return b; }
5
constexpr int c = fn(alignof(int));
6
alignas(c) char d;