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
PR c++/86728 - C variadic generic lambda.
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
abi
/
abi-tag16.C
blob
d4fa142762a8cef0e57c0cad4828b22fcd8ed40d
1
// { dg-options -Wabi=9 }
2
// { dg-final { scan-assembler "_ZGVZN1N1FEvE4NameB5cxx11" } }
3
namespace std {
4
__extension__ inline namespace __cxx11 __attribute__((abi_tag("cxx11"))) {
5
struct String {
6
String();
7
};
8
}
9
}
10
namespace N {
11
inline void F() {
12
{
13
static std::String Name; // { dg-warning "mangled name" }
14
}
15
}
16
void F2() {
17
F();
18
}
19
}