repo.or.cz
/
official-gcc
/
graphite-test-results.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Merge from mainline (167278:168000).
[official-gcc/graphite-test-results.git]
/
gcc
/
testsuite
/
g++.dg
/
ext
/
align2.C
blob
da54bd9386b34148c522bd3afc117f2ef0329715
1
// PR c++/10179
2
3
struct __attribute((aligned(__alignof(double)))) A
4
{ /* empty */ };
5
6
struct T : public A
7
{
8
char c;
9
};
10
11
template<bool> struct StaticAssert;
12
template<> struct StaticAssert<true> {};
13
14
StaticAssert<__alignof(T) == __alignof(double)> d;