blob: 56990e0a33de7e8c0fae9a5dcc64819c1c6ad06f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
// Verify that we don't warn about variables of internal-linkage type in
// headers, as the use may be in another TU.
namespace PR15558 {
namespace {
class A {};
}
class B {
static A a;
static A b;
static const int x = sizeof(b);
};
}
|