summaryrefslogtreecommitdiffstats
path: root/debuginfo-tests/dexter/feature_tests/commands/perfect/unreachable.cpp
blob: b158b4851be44f6fed3f042a4b5f167ff1f8fe7f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// Purpose:
//    Check that \DexUnreachable has no effect if the command line is never
//    stepped on.
//
// REQUIRES: system-linux, lldb
//
// RUN: %dexter_base test --fail-lt 1.0 -w \
// RUN:     --builder 'clang' --debugger 'lldb' --cflags "-O0 -g" -- %s \
// RUN:     | FileCheck %s
// CHECK: unreachable.cpp:

int main()
{
  return 0;
  return 1; // DexUnreachable()
}
OpenPOWER on IntegriCloud