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
Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git]
/
clang
/
test
/
SemaTemplate
/
crash.cpp
blob
428e95ccf96e10655d2dace01af8b187e8c25960
1
// RUN: not %clang_cc1 -verify %s -std=c++11
2
3
// PR17730
4
template
<
typename T
>
5
void
S
<
T
>::
mem1
();
6
7
template
<
typename T
>
8
void
S
<
T
>::
mem2
() {
9
const int
I
=
sizeof
(
T
);
10
(
void
)
I
;
11
}