原始内容
高亮显示
复制内容
// RUN: %clang_cc1 -fsyntax-only -std=c++11 -verify %s struct S { virtual void f() = delete; //expected-note{{'f' has been explicitly marked deleted here}} void g() { f(); } //expected-error{{attempt to use a deleted function}} };
您还没有登录,登录后您可以:
首次使用?从这里 注册