forked from OSchip/llvm-project
10 lines
353 B
C++
10 lines
353 B
C++
// RUN: %clang_cc1 -fsyntax-only -Wall -verify -std=c++11 %s
|
|
|
|
// Regression test for #50794.
|
|
|
|
// expected-note@+1 2 {{previous definition is here}}
|
|
inline namespace X {}
|
|
|
|
namespace X {} // expected-warning {{inline namespace reopened as a non-inline namespace}}
|
|
namespace X {} // expected-warning {{inline namespace reopened as a non-inline namespace}}
|