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
* decl.c (make_typename_type): s/parameters/arguments/.
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
gen-attrs-55.C
blob
c4e6deabe1dc6534fe2de8c3451cba538adde624
1
// PR c++/58584
2
// { dg-do compile { target c++11 } }
3
4
struct A
5
{
6
int i alignas(this); // { dg-error "17:invalid use of 'this'" }
7
};
8
9
template<int> struct B
10
{
11
int j alignas(this); // { dg-error "17:invalid use of 'this'" }
12
};