[NFC] Fixed indentation issue (#116942)
[llvm-project.git] / libunwind / test / unw_getcontext.pass.cpp
blob95ffcf123267f0695c1276bf6184e09db6a3890d
1 // -*- C++ -*-
2 //===----------------------------------------------------------------------===//
3 //
4 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
5 // See https://llvm.org/LICENSE.txt for license information.
6 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //
8 //===----------------------------------------------------------------------===//
10 #undef NDEBUG
11 #include <assert.h>
12 #include <libunwind.h>
14 int main(int, char**) {
15 unw_context_t context;
16 int ret = unw_getcontext(&context);
17 assert(ret == UNW_ESUCCESS);
18 return 0;