llvm-project/clang/test/CXX/basic/basic.stc/basic.stc.dynamic/p2-nodef.cpp

9 lines
133 B
C++

// RUN: %clang_cc1 -fsyntax-only -verify %s
// expected-no-diagnostics
int *use_new(int N) {
return new int [N];
}
int std = 17;