-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathstack_test.C
More file actions
31 lines (22 loc) · 855 Bytes
/
stack_test.C
File metadata and controls
31 lines (22 loc) · 855 Bytes
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
#include <stdio.h>
#include <assert.h>
#include <map>
#include <set>
#include <string>
#include <iostream>
#include <fstream>
#include "source_location.h"
using namespace std;
int main(){
cout << "int:" << endl;
cout << "Source location = " << source_location_int() << endl;
cout << "Source location = " << source_location_int() << endl;
cout << "Source location = " << source_location_int() << endl;
cout << "Source location = " << source_location_int() << endl;
cout << "Source location = " << source_location_int() << endl;
cout << "ulong:" << endl;
cout << "Source location = " << source_location_ulong() << endl;
cout << "Source location = " << source_location_ulong() << endl;
cout << "Source location = " << source_location_ulong() << endl;
cout << "Source location = " << source_location_ulong() << endl;
}