mirror of
https://github.com/boostorg/dll.git
synced 2026-02-02 20:52:20 +00:00
15 lines
427 B
C++
15 lines
427 B
C++
// Copyright 2014 Renato Tegon Forti, Antony Polukhin.
|
|
//
|
|
// Distributed under the Boost Software License, Version 1.0.
|
|
// (See accompanying file LICENSE_1_0.txt
|
|
// or copy at http://www.boost.org/LICENSE_1_0.txt)
|
|
|
|
// For more information, see http://www.boost.org
|
|
|
|
#include <boost/dll/import_function.hpp>
|
|
|
|
int main() {
|
|
// Must be a compile time error
|
|
boost::dll::import_function<int>("library name", "symbol name")
|
|
}
|