blob: 467612e9b37b4177b1fb4fb37f418ebc2a82d4b1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
|
//===-- main.c --------------------------------------------------*- C++ -*-===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===----------------------------------------------------------------------===//
void test()
{
typedef double * a;
a b = 0; // Set break point 4.
}
int main (int argc, char const *argv[])
{
typedef float a;
int i = 0; // Set break point 1.
i++;
a floatvariable = 2.7; // Set break point 2.
{
typedef char a;
i++;
a charvariable = 'a'; // Set break point 3.
test();
}
{
int c = 0;
c++; // Set break point 5.
for(i = 0 ; i < 1 ; i++)
{
typedef int a;
a b;
b = 7; // Set break point 6.
}
for(i = 0 ; i < 1 ; i++)
{
typedef double a;
a b;
b = 3.14; // Set break point 7.
}
c = 1; // Set break point 8.
}
floatvariable = 2.5;
floatvariable = 2.8; // Set break point 9.
return 0;
}
|