repo.or.cz
/
gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Fortran: Fix PR 47485.
[gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
gen-attrs-37.C
blob
d84afc9c613bc9696dad3e405cc01e4347722323
1
// PR c++/43093
2
// { dg-options "-pedantic" }
3
// { dg-do compile { target { { i?86-*-* x86_64-*-* } && ia32 } } }
4
// { dg-require-effective-target c++11 }
5
6
// c++11 attributes that apply to types are ignored for now
7
8
struct S {
9
int x;
10
S(const S &s) {}
11
};
12
13
S getS() [[gnu::__stdcall__]];
14
15
void test()
16
{
17
S s = getS();
18
}