mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2025-04-17 13:51:21 +00:00

Summary: There are a number of files in the tree which have been accidentally checked in with DOS line endings. Convert these to native line endings. There are also a few files which have DOS line endings on purpose, and I have set the svn:eol-style property to 'CRLF' on those. Reviewers: joerg, aaron.ballman Subscribers: aaron.ballman, cfe-commits Differential Revision: http://reviews.llvm.org/D15849 llvm-svn: 256704
15 lines
385 B
C++
15 lines
385 B
C++
// RUN: %clang_cc1 -fsyntax-only -verify -std=c++1z %s
|
|
|
|
namespace [[]] foo {}
|
|
namespace [[]] {}
|
|
namespace [[]] bad = foo; // expected-error {{attributes cannot be specified on namespace alias}}
|
|
|
|
namespace [[]] A::B {} // expected-error {{attributes cannot be specified on a nested namespace definition}}
|
|
|
|
enum test {
|
|
bing [[]],
|
|
bar [[]] = 1,
|
|
baz [[]][[]],
|
|
quux [[]][[]] = 4
|
|
};
|