Sign in
llvm
/
clang
/
3b8d539899d6651504edfbaaa2ea68eb9d7aa6ac
/
.
/
test
/
SemaOpenCLCXX
/
address-space-of-this.cl
blob: ac79b34119284b4d0d301dad62e575421da59c09 [
file
] [
log
] [
blame
]
//
RUN
:
%
clang_cc1
%
s -triple spir-unknown-unknown -cl-std=clc
++
-pedantic -verify -fsyntax-only
//
expected-no-diagnostics
//
Extract from PR38614
struct C
{}
;
C f1
(
)
{
return C
{}
;
}
C f2
(
)
{
C c
;
return c
;
}