forked from OSchip/llvm-project
parent
7a2a116bab
commit
ec4b30a1e8
|
@ -1,7 +0,0 @@
|
|||
// RUN: %clang_cc1 -fsyntax-only %s
|
||||
struct bar {
|
||||
enum xxx {
|
||||
yyy = sizeof(struct foo*)
|
||||
};
|
||||
foo *xxx();
|
||||
};
|
|
@ -68,3 +68,12 @@ void f()
|
|||
callback<void(const int&)> op;
|
||||
}
|
||||
}
|
||||
|
||||
namespace PR9007 {
|
||||
struct bar {
|
||||
enum xxx {
|
||||
yyy = sizeof(struct foo*)
|
||||
};
|
||||
foo *xxx();
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue