Sign in
llvm
/
clang
/
3b8d539899d6651504edfbaaa2ea68eb9d7aa6ac
/
.
/
test
/
SemaTemplate
/
using-decl.cpp
blob: 1ef2a2dfaa0194847dadcafffddc20f6f0609f42 [
file
] [
log
] [
blame
]
// RUN: %clang_cc1 -std=c++2a -verify %s
// expected-no-diagnostics
namespace
UsingInGenericLambda
{
namespace
a
{
enum
{
b
};
}
template
<typename>
void
c
()
{
auto
d
=
[](
auto
)
{
using
a
::
b
;
(
void
)
b
;
};
d
(
0
);
}
void
e
()
{
c
<int>
();
}
}