// RUN: %clang  -g -S -fverbose-asm %s -o - | FileCheck %s

// CHECK: TAG_namespace
namespace A {
  enum numbers {
    ZERO,
    ONE
  };
}

using namespace A;
numbers n;

// RUN: %clang  -g -S -emit-llvm %s -o - | FileCheck %s

namespace A {
int i;
}

// CHECK: [[FILE:![0-9]*]] = {{.*}} ; [ DW_TAG_file_type ] [{{.*}}/test/CodeGenCXX/debug-info-namespace.cpp]
// CHECK: [[VAR:![0-9]*]] = {{.*}}, metadata [[NS:![0-9]*]], metadata !"i", {{.*}} ; [ DW_TAG_variable ] [i]
// CHECK: [[NS]] = {{.*}}, metadata [[FILE]], {{.*}} ; [ DW_TAG_namespace ] [A] [line 3]

Make front-end debug info namespace test frontend-only & more specific without overconstraining it
Make front-end debug info namespace test frontend-only & more specific without overconstraining it

The backend portion of this test will be committed to LLVM's test suite.

git-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@177485 91177308-0d34-0410-b5e6-96231b3b80d8
