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
/
SemaOpenCLCXX
/
address-space-of-this.clcpp
blob
d77469b197c28d10a300d7a0d102901b173103c5
1
// RUN: %clang_cc1 %s -triple spir-unknown-unknown -pedantic -verify -fsyntax-only
2
// expected-no-diagnostics
3
4
// Extract from PR38614
5
struct C {};
6
7
C f1() {
8
return C{};
9
}
10
11
C f2(){
12
C c;
13
return c;
14
}