wilzbach / tools-test

1 stars 0 forks source link

[REG2.072.0] pragma(lib) is broken with rdmd #157

Closed wilzbach closed 7 years ago

wilzbach commented 7 years ago

Note: the issue was created automatically migrated from https://issues.dlang.org

Original bug ID: BZ#16978 From: Vladimir Panteleev <dlang-bugzilla@thecybershadow.net> Reported version: D2

See also: BZ#16962

wilzbach commented 7 years ago

Comment author: Vladimir Panteleev <dlang-bugzilla@thecybershadow.net>

////////////////////////// test.d ////////////////////////// pragma(lib, "lzma");

extern(C) uint lzma_version_number();

void main() { import std.stdio; writefln("LZMA version is 0x%08X", lzma_version_number); } ////////////////////////////////////////////////////////////

Introduced in https://github.com/D-Programming-Language/tools/pull/194.

wilzbach commented 7 years ago

Comment author: Vladimir Panteleev <dlang-bugzilla@thecybershadow.net>

https://github.com/dlang/tools/pull/207

wilzbach commented 7 years ago

Comment author: github-bugzilla@puremagic.com

Commits pushed to stable at https://github.com/dlang/tools

https://github.com/dlang/tools/commit/a9aba0067cc9604588b71877eb390df106f8abe7 Fix Issue 16978 - [REG2.072.0] pragma(lib) is broken with rdmd

The actual fix was done by the revert. This simply adds a test.

https://github.com/dlang/tools/commit/bfbcd086bad634066ba142964823f1689e879aaf Merge pull request BZ#207 from CyberShadow/issue-16962

rdmd fixes (issues 14296, 16962 and 16978) merged-on-behalf-of: Martin Nowak <code@ dawg.eu>

wilzbach commented 7 years ago

Comment author: github-bugzilla@puremagic.com

Commits pushed to master at https://github.com/dlang/tools

https://github.com/dlang/tools/commit/a9aba0067cc9604588b71877eb390df106f8abe7 Fix Issue 16978 - [REG2.072.0] pragma(lib) is broken with rdmd

https://github.com/dlang/tools/commit/bfbcd086bad634066ba142964823f1689e879aaf Merge pull request BZ#207 from CyberShadow/issue-16962

wilzbach commented 7 years ago

Comment author: github-bugzilla@puremagic.com

Commits pushed to newCTFE at https://github.com/dlang/tools

https://github.com/dlang/tools/commit/a9aba0067cc9604588b71877eb390df106f8abe7 Fix Issue 16978 - [REG2.072.0] pragma(lib) is broken with rdmd

https://github.com/dlang/tools/commit/bfbcd086bad634066ba142964823f1689e879aaf Merge pull request BZ#207 from CyberShadow/issue-16962