Files
clang-p2996/lldb/test/functionalities/data-formatter/rdar-13338477/main.cpp
Daniel Malea 32052b62ae Fix rdar-13338477 test-case for Linux.
- Using __builtin_trap confuses the stack unwinder
- __builtin_trap specific test will be added shortly

llvm-svn: 181441
2013-05-08 15:07:24 +00:00

18 lines
481 B
C++

//===-- main.cpp ------------------------------------------------*- C++ -*-===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
bool bar(int const *foo) {
return foo != 0; // Set break point at this line.
}
int main() {
int foo[] = {1,2,3};
return bar(foo);
}