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
* tree.c (lvalue_kind): Rename from lvalue_p_1, make nonstatic.
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
g++.dg
/
ext
/
align2.C
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;