blob: 4b62744fbd097f380a014e5f1753b6f76d8ca4f2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
//===-- main.c --------------------------------------------------*- C++ -*-===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
#include <windows.h>
int __declspec(dllimport) DllFunc(int n);
int main(int argc, char ** argv) {
int x = DllFunc(4);
int y = DllFunc(8); // set breakpoint here
int z = DllFunc(16);
return x + y + z;
}
|