Skip to content
  • Rui Ueyama's avatar
    Add typedef · 60d12c07
    Rui Ueyama authored
    In the following example, `x` is defined as an alias for `int`.
    
      typedef x;
    
    Below is valid C code where the second `t` is a local variable
    of type int having value 3.
    
      typedef int t;
      t t = 3;
    60d12c07