February 12, 2023
https://issues.dlang.org/show_bug.cgi?id=23697

          Issue ID: 23697
           Summary: compilable/test22705.c:4:1: error: unknown type name
                    ‘Ta’
           Product: D
           Version: D2
          Hardware: All
                OS: Linux
            Status: NEW
          Severity: major
          Priority: P1
         Component: dmd
          Assignee: nobody@puremagic.com
          Reporter: ibuclaw@gdcproject.org

When compiling the test with `gcc -std=c11 -fsyntax-only`

compilable/test22705.c:4:1: error: unknown type name ‘Ta’
    4 | Ta *pa;
      | ^~
compilable/test22705.c:8:1: error: unknown type name ‘Tb’; did you mean ‘Ta’?
    8 | Tb *pb;
      | ^~
      | Ta

Original test content:
```
Ta *pa;
struct Sa { int x; };
typedef struct Sa Ta;

Tb *pb;
struct Sb;
typedef struct Sb { int x; } Tb;
```

--