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
/
CXX
/
expr
/
expr.cond
/
p4.cpp
blob
4d0cf3538cf05bc26eaab240c75e13ea0bdbb813
1
// RUN: %clang_cc1 -std=c++98 -verify %s
2
// RUN: %clang_cc1 -std=c++1z -verify %s
3
4
// expected-no-diagnostics
5
6
struct
A
{
A
();
A
(
int
); };
7
void
f
() {
8
const
A a
;
9
true
?
a
:
0
;
10
}