mirror of
https://github.com/dlang/dmd.git
synced 2025-04-27 13:40:11 +03:00
Move dmd files into compiler/
This commit is contained in:
parent
20bd0cacbd
commit
6374bb87b7
4579 changed files with 4 additions and 4 deletions
25
compiler/test/fail_compilation/cppmangle.d
Normal file
25
compiler/test/fail_compilation/cppmangle.d
Normal file
|
@ -0,0 +1,25 @@
|
|||
/*
|
||||
TEST_OUTPUT:
|
||||
---
|
||||
fail_compilation/cppmangle.d(11): Error: expected valid identifier for C++ namespace but got ``
|
||||
fail_compilation/cppmangle.d(15): Error: expected valid identifier for C++ namespace but got `0num`
|
||||
fail_compilation/cppmangle.d(19): Error: compile time string constant (or tuple) expected, not `2`
|
||||
fail_compilation/cppmangle.d(23): Error: expected valid identifier for C++ namespace but got `invalid@namespace`
|
||||
---
|
||||
*/
|
||||
|
||||
extern(C++, "")
|
||||
{
|
||||
}
|
||||
|
||||
extern(C++, "0num")
|
||||
{
|
||||
}
|
||||
|
||||
extern(C++, 1+1)
|
||||
{
|
||||
}
|
||||
|
||||
extern(C++, "invalid@namespace")
|
||||
{
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue