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
/
PCH
/
cxx17-deduction-guide-decl.cpp
blob
93ab82c0240327cdcd12924e09bdbd4db0f721c9
1
// Test with pch.
2
// RUN: %clang_cc1 -emit-pch -std=c++17 -o %t %s
3
// RUN: %clang_cc1 -include-pch %t -emit-llvm -std=c++17 -o - %s
4
5
#ifndef HEADER
6
#define HEADER
7
8
namespace
RP47219
{
9
typedef
int
MyInt
;
10
template
<
typename T
>
11
class
Some
{
12
public
:
13
explicit
Some
(
T
,
MyInt
) {}
14
};
15
16
struct
Foo
{};
17
void
ParseNatural
() {
18
Some
(
Foo
(),
1
);
19
}
20
}
21
22
#else
23
24
#endif