Home | History | Annotate | Download | only in SemaCXX
      1 // RUN: %clang_cc1 -std=c++11 -fsyntax-only -verify -pedantic %s
      2 
      3 namespace PR12866 {
      4   struct bar {
      5     union {
      6       int member;
      7     };
      8   };
      9 
     10   void foo( void ) {
     11     (void)sizeof(bar::member);
     12   }
     13 }
     14