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