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] Handle __declspec() attributes in using
[llvm-project.git]
/
clang
/
test
/
CodeGenCXX
/
ms-lookup-template-base-classes.cpp
blob
41a4ee8b5bb8f9a56d4b3b0cfefd171bb8b7be74
1
// RUN: %clang_cc1 -triple x86_64-windows-msvc -emit-llvm -fms-compatibility %s -o -
2
// CHECK that we don't crash.
3
4
struct
Base
{
5
void
b
(
int
,
int
);
6
};
7
8
template
<
typename Base
>
struct
Derived
:
Base
{
9
void
d
() {
b
(
1
,
2
); }
10
};
11
12
void
use
() {
13
Derived
<
Base
>
d
;
14
d
.
d
();
15
}