Skip to content
This repository was archived by the owner on Oct 12, 2022. It is now read-only.

Commit ba3295d

Browse files
authored
Merge pull request #2358 from dlang/rm-pascal
Remove references to `extern(Pascal)` merged-on-behalf-of: Petar Kirov <ZombineDev@users.noreply.github.com>
2 parents 90600d0 + ec779cb commit ba3295d

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/core/demangle.d

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2387,7 +2387,6 @@ private template hasPlainMangling(FT) if (is(FT == function))
23872387
{
23882388
static extern(D) void fooD();
23892389
static extern(C) void fooC();
2390-
static extern(Pascal) void fooP();
23912390
static extern(Windows) void fooW();
23922391
static extern(C++) void fooCPP();
23932392

@@ -2398,13 +2397,11 @@ private template hasPlainMangling(FT) if (is(FT == function))
23982397
}
23992398
static assert(check!(typeof(fooD))(true, false, false));
24002399
static assert(check!(typeof(fooC))(false, false, true));
2401-
static assert(check!(typeof(fooP))(false, false, true));
24022400
static assert(check!(typeof(fooW))(false, false, true));
24032401
static assert(check!(typeof(fooCPP))(false, true, false));
24042402

24052403
static assert(__traits(compiles, mangleFunc!(typeof(&fooD))("")));
24062404
static assert(__traits(compiles, mangleFunc!(typeof(&fooC))("")));
2407-
static assert(__traits(compiles, mangleFunc!(typeof(&fooP))("")));
24082405
static assert(__traits(compiles, mangleFunc!(typeof(&fooW))("")));
24092406
static assert(!__traits(compiles, mangleFunc!(typeof(&fooCPP))("")));
24102407
}

0 commit comments

Comments
 (0)