mirror of
https://github.com/dlang/dmd.git
synced 2025-04-26 13:10:12 +03:00
18 lines
401 B
C
18 lines
401 B
C
/* TEST_OUTPUT:
|
|
---
|
|
fail_compilation/test22899.c(105): Error: expression expected, not `)`
|
|
fail_compilation/test22899.c(105): Error: found `;` when expecting `)`
|
|
fail_compilation/test22899.c(106): Error: found `}` when expecting `;` following statement
|
|
---
|
|
*/
|
|
|
|
// https://issues.dlang.org/show_bug.cgi?id=22904
|
|
|
|
#line 100
|
|
|
|
typedef int mytype_t;
|
|
void fn()
|
|
{
|
|
int x;
|
|
x = sizeof( (mytype_t) );
|
|
}}
|