[clang] Handle __declspec() attributes in using
[llvm-project.git] / clang / test / SemaOpenCLCXX / address-space-of-this.clcpp
blobd77469b197c28d10a300d7a0d102901b173103c5
1 // RUN: %clang_cc1 %s -triple spir-unknown-unknown -pedantic -verify -fsyntax-only
2 // expected-no-diagnostics
4 // Extract from PR38614
5 struct C {};
7 C f1() {
8  return C{};
11 C f2(){
12     C c;
13     return c;