Home | History | Annotate | Download | only in FrontendC
      1 // RUN: %llvmgcc %s -S -o - | opt -std-compile-opts | \
      2 // RUN:    llvm-dis | grep {@nate.*internal unnamed_addr global i32 0}
      3 
      4 struct X { int *XX; int Y;};
      5 
      6 void foo() {
      7   static int nate = 0;
      8   struct X bob = { &nate, 14 };
      9   bar(&bob);
     10 }
     11 
     12