projects
/
platform
/
upstream
/
gcc48.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
remove unused files
[platform/upstream/gcc48.git]
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
gen-attrs-31.C
1
// PR c++/35097
2
// { dg-do compile { target c++11 } }
3
4
template<int> struct A;
5
6
template<> struct A<0>
7
{
8
typedef int X [[gnu::aligned(4)]];
9
};
10
11
template<typename T> void foo(const A<0>::X&, T);
12
13
void bar()
14
{
15
foo(A<0>::X(), 0);
16
}