blob: 7b25233f1ab24f0af0d468e739c56b3ff99d23ef (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
// Contributed by Dodji Seketeli <dodji@redhat.com>
// Origin: PR debug/37410
// { dg-do compile }
namespace A1
{
int aaa = 1;
};
namespace A2
{
int aaa = 2;
};
int
foo (void)
{
int x;
{
int block_create;
using namespace A1;
block_create = aaa; /* break1 */
}
{
int block_create;
using namespace A2;
block_create = aaa; /* break2 */
}
return x = 0;
}
|