1 // RUN: %clang_cc1 %s -ast-dump | FileCheck %s
3 // Verify that we print the [[clang::lifetime_capture_by(X)]] attribute.
6 void foo(int &a
, int &b
) [[clang::lifetime_capture_by(a
, b
, global
)]];
9 // CHECK: CXXMethodDecl {{.*}}clang::lifetime_capture_by(a, b, global)