Skip to content

Commit

Permalink
Removing test for 13932 on Win32 -- there is some issue with CPP mang…
Browse files Browse the repository at this point in the history
…ling on optlink.
  • Loading branch information
schveiguy committed Jan 5, 2015
1 parent 85946f3 commit 930795e
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion test/runnable/cppa.d
Expand Up @@ -5,6 +5,14 @@ import core.stdc.stdio;
import core.stdc.stdarg;
import core.stdc.config;

// BUG: fix for 13932 doesn't work on Win32 for some reason. Therefore
// it is disabled on Windows 32-bit, but enabled on all other platforms.
version(Win32) {}
else
{
version = doTest13932;
}

extern (C++)
int foob(int i, int j, int k);

Expand Down Expand Up @@ -631,12 +639,15 @@ void test13707()

/****************************************/

version(doTest13932)
{
struct S13932(int x)
{
int member;
}

extern(C++) void func13932(S13932!(-1) s);
}

/****************************************/

Expand All @@ -663,7 +674,8 @@ void main()
test15();
test16();
func13707();
func13932(S13932!(-1)(0));
version(doTest13932)
func13932(S13932!(-1)(0));

printf("Success\n");
}

0 comments on commit 930795e

Please sign in to comment.