llvm-project/clang/test/Parser/cxx-decl.cpp

4 lines
109 B
C++

// RUN: clang-cc -verify -fsyntax-only %s
int x(*g); // expected-error {{use of undeclared identifier 'g'}}