17 lines
619 B
C
17 lines
619 B
C
//------------------------------------------------------------------------------
|
|
// CLING - the C++ LLVM-based InterpreterG :)
|
|
//
|
|
// This file is dual-licensed: you can choose to license it under the University
|
|
// of Illinois Open Source License or the GNU Lesser General Public License. See
|
|
// LICENSE.TXT for details.
|
|
//------------------------------------------------------------------------------
|
|
|
|
#ifndef HEADER_FILE_PROTECTOR
|
|
#define HEADER_FILE_PROTECTOR
|
|
int f() {
|
|
return NN+1;
|
|
}
|
|
int n = f();
|
|
error_here; // expected-error {{C++ requires a type specifier for all declarations}}
|
|
#endif // HEADER_FILE_PROTECTOR
|