Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / clang / test / SemaCXX / no-implicit-builtin-decls.cpp
blobd82f7f18bffe0fed2736ed0b3e884f036d7a3119
1 // RUN: %clang_cc1 -fsyntax-only -verify %s
3 void f() {
4 void *p = malloc(sizeof(int) * 10); // expected-error{{use of undeclared identifier 'malloc'}}
7 int malloc(double);