1 // RUN: %clang_cc1 -triple dxil-pc-shadermodel6.0-compute -x hlsl -o - -fsyntax-only %s -verify
3 int& bark(int); // expected-error {{references are unsupported in HLSL}}
4 void meow(int&); // expected-error {{references are unsupported in HLSL}}
5 void chirp(int &&); // expected-error {{references are unsupported in HLSL}}
6 // expected-warning@-1 {{rvalue references are a C++11 extension}}
15 int &Y = X; // expected-error {{references are unsupported in HLSL}}
18 int roar(Foo &F) { // expected-error {{references are unsupported in HLSL}}