repo.or.cz
/
llvm-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[clang] Handle __declspec() attributes in using
[llvm-project.git]
/
clang
/
test
/
SemaCXX
/
invalid-aligned-attr.cpp
blob
5807536359a1b25b16219b2cdb38a1bca6fb12c3
1
// RUN: %clang_cc1 -frecovery-ast -verify %s
2
// RUN: %clang_cc1 -verify %s
3
4
struct
alignas
(
invalid
())
Foo
{};
// expected-error {{use of undeclared identifier}}
5
6
constexpr
int
k
=
alignof
(
Foo
);