Files
clang-p2996/lldb/test/expression_command/options/main.cpp
Dawn Perchik 15663c530e Specify a language to use when parsing expressions.
This patch adds the option -l/--language to the expression command, for
use when setting the language options or choosing an alternate FE. If
not specified, the target.language setting is used.

Reviewed by: clayborg
Subscribers: lldb-commits
Differential Revision: http://reviews.llvm.org/D11447

llvm-svn: 243187
2015-07-25 00:19:39 +00:00

16 lines
211 B
C++

extern "C" int foo(void);
static int static_value = 0;
int
bar()
{
static_value++;
return static_value;
}
int main (int argc, char const *argv[])
{
bar(); // breakpoint_in_main
return foo();
}