1 // RUN: %clang_cc1 -verify -std=c++20 -Wall %s
3 // RUN: %clang_cc1 -x c++ -std=c++20 -fixit %t
4 // RUN: %clang_cc1 -Wall -Werror -x c++ -std=c++20 %t
5 // RUN: cat %t | FileCheck %s
9 int &&move(auto &&a
) { return a
; }
11 int &&forward(auto &a
) { return a
; }
19 (void)move(i
); // expected-warning {{unqualified call to 'std::move}}
20 // CHECK: {{^}} (void)std::move
21 (void)forward(i
); // expected-warning {{unqualified call to 'std::forward}}
22 // CHECK: {{^}} (void)std::forward