repo.or.cz
/
llvm-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[clang-cl] Ignore /Wv and /Wv:17 flags
[llvm-project.git]
/
clang
/
test
/
CodeGenCXX
/
instantiate-init-list.cpp
blob
e498d2476c0153bd169f78a11275319f9e1fbeee
1
// RUN: %clang_cc1 %s -emit-llvm-only -verify
2
// expected-no-diagnostics
3
4
struct
F
{
5
void
(*
x
)();
6
};
7
void
G
();
8
template
<
class
T
>
class
A
{
9
public
:
A
();
10
};
11
template
<
class
T
>
A
<
T
>::
A
() {
12
static
F f
= {
G
};
13
}
14
A
<
int
>
a
;