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
Be careful about comdat boundary in ICF (PR ipa/82352).
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
alignas8.C
blob
bd76233f4ad5e66aa4d34bf6c759d381398a7f25
1
// PR c++/79380
2
// { dg-do compile { target c++11 } }
3
4
template < typename > constexpr int f () { return 8; }
5
6
// should have been: struct alignas (f<int>()) S {};
7
struct alignas (f) S {}; // { dg-error "17:'alignas' argument has non-integral type" }