llvm/clang/test/CXX/dcl.dcl/dcl.attr/dcl.attr.unused/p4.cpp

// RUN: %clang_cc1 -fsyntax-only -Wunused -std=c++1z -verify %s
// expected-no-diagnostics

void f();
[[maybe_unused]] void f();

void f() {
}