]>
git.proxmox.com Git - rustc.git/blob - src/llvm/tools/clang/test/SemaCXX/delete.cpp
1 // RUN: %clang_cc1 -fsyntax-only -verify %s
3 // RUN: %clang_cc1 -fixit -x c++ %t
4 // RUN: %clang_cc1 -E -o - %t | FileCheck %s
6 void f(int a
[10][20]) {
8 delete a
; // expected-warning {{'delete' applied to a pointer-to-array type}}