view gcc/testsuite/g++.dg/parse/namespace4.C @ 111:04ced10e8804

gcc 7
author kono
date Fri, 27 Oct 2017 22:46:09 +0900
parents
children
line wrap: on
line source

/* PR c++/4652 */
/* { dg-do compile } */
/* Another conflict between namespace IDs and other things. */

namespace A { }

class B {

   struct {
      int x;
   } A;

};

int main() {
   B b;
   return 0;
}