summaryrefslogtreecommitdiffstats
path: root/packages/Python/lldbsuite/test/functionalities/memory/read/main.cpp
blob: cd367ff318abaf7eb41eefe8b5ba0839782462be (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
//===-- main.cpp ------------------------------------------------*- C++ -*-===//
//
//                     The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
#include <stdio.h>

int main (int argc, char const *argv[])
{
    char my_string[] = {'a', 'b', 'c', 'd', 'e', 'f', 'g', 0};
    double my_double = 1234.5678;
    int my_ints[] = {2,4,6,8,10,12,14,16,18,20,22};
    printf("my_string=%s\n", my_string); // Set break point at this line.
    printf("my_double=%g\n", my_double);
    return 0;
}
OpenPOWER on IntegriCloud