title: How to initialise structure with a field pointing to another field?
body: <p>Given this struct :</p>
  
  <pre><code>typedef struct test {
    char field1[20];
    char *field2;
  } test_s
  </code></pre>
  
  <p>How can initialize this kind of structure with a designated initializer, knowing that I want field2 to point to field1 ?</p>
  
  <pre><code>test_s test = {.field1[0] = '\0', .field2 = .field1};
  </code></pre>
  
  <p>doesn't work.</p>