☰
Debian Codegraph
@
1:22.1.8-2
1:22.1.8-1
1:22.1.7-1
/
/
clang
/
test
/
SemaCXX
/
deleted-function-access.cpp
☽
☼
clang/test/SemaCXX/deleted-function-access.cpp
code
plain
raw
APACHE-2-LLVM-EXCEPTIONS
2003-2017 University of Illinois at Urbana-Champaign.
debian/copyright
1
// RUN: %clang_cc1 -fsyntax-only -std=c++11 -verify %s
2
3
struct S {
4
virtual void f() = delete; //expected-note{{'f' has been explicitly marked deleted here}}
5
void g() { f(); } //expected-error{{attempt to use a deleted function}}
6
};