summaryrefslogtreecommitdiffstats
path: root/ipc/ipdl/test/ipdl/error/redeclScope.ipdlh
blob: a64439b599489f1c6070f99c0ed1415e314ef89f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
//error: redeclaration of symbol `Foo', first declared at

struct Foo {
  bool b;
};

struct Bar {
  // This should produce an error saying that Foo is a redeclaration,
  // even though the initial declaration was in a different frame of
  // the symbol table.
  bool Foo;
};