llvm-project/lldb/test/functionalities/archives/a.c

20 lines
558 B
C
Raw Normal View History

//===-- a.c -----------------------------------------------------*- C++ -*-===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
int __a_global = 1;
int a(int arg) {
int result = arg + __a_global;
return result; // Set file and line breakpoint inside a().
}
int aa(int arg1) {
int result1 = arg1 - __a_global;
return result1;
}