mirror of
https://github.com/dlang/dmd.git
synced 2025-04-26 13:10:12 +03:00
40 lines
536 B
D
40 lines
536 B
D
/*
|
|
REQUIRED_ARGS: -HC -c -o-
|
|
PERMUTE_ARGS:
|
|
TEST_OUTPUT:
|
|
---
|
|
// Automatically generated by Digital Mars D Compiler
|
|
|
|
#pragma once
|
|
|
|
#include <assert.h>
|
|
#include <math.h>
|
|
#include <stddef.h>
|
|
#include <stdint.h>
|
|
|
|
namespace nameSpace
|
|
{
|
|
extern void fn();
|
|
|
|
namespace nameSpace2
|
|
{
|
|
extern void fn2();
|
|
|
|
}
|
|
extern double identity(double __param_0_);
|
|
|
|
}
|
|
---
|
|
*/
|
|
|
|
extern(C++, "nameSpace")
|
|
{
|
|
void fn() {}
|
|
|
|
extern(C++, nameSpace2)
|
|
{
|
|
void fn2() {}
|
|
}
|
|
|
|
double identity(double) { return __param_0; }
|
|
}
|