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] Implement lifetime analysis for lifetime_capture_by(X) (#115921)
[llvm-project.git]
/
clang
/
test
/
OpenMP
/
template-specialization.cpp
blob
714fbf4a20114cd7d7a18e77435e849d086cbc2e
1
// RUN: %clang_cc1 -verify -fopenmp -fsyntax-only %s
2
3
// expected-no-diagnostics
4
5
template
<
typename T
>
6
struct
z
{
7
static void
aj
() {
8
T f
;
9
#pragma omp target map(f)
10
;
11
}
12
};
13
14
template
<
typename
>
class
ar
{};
15
template
<
int
>
struct
as
{};
16
template class
z
<
ar
<
as
<
4
>>>;