brintos

brintos / llvm-project-archived public Read only

0
0
Text · 253 B · a67f457 Raw
12 lines · cpp
1// RUN: %clang_analyze_cc1 -analyzer-checker=webkit.UncountedLambdaCapturesChecker -std=c++20 -verify %s2// expected-no-diagnostics3 4template<typename Arg>5void foo(Arg&& arg)6{7    [&]{8        co_await [&](auto&&... args) {9        }(arg);10    }();11}12