llvm-project/clang/test/CodeGen/2006-09-25-DebugFilename.c
Eric Christopher 85e5156598 Migrate most of the rest of test/FrontendC from llvm and migrate
most of them to FileCheck.

llvm-svn: 136159
2011-07-26 22:17:02 +00:00

5 lines
223 B
C

// RUN: not %clang_cc1 %s -emit-llvm -o /dev/null
#include "2006-09-25-DebugFilename.h"
int func1() { return hfunc1(); }
int func2() { fluffy; return hfunc1(); } // expected-error {{use of undeclared identifier 'fluffy'}}