Mercurial > hg > CbC > CbC_llvm
comparison clang/test/Sema/fp16-sema.c @ 236:c4bab56944e8 llvm-original
LLVM 16
author | kono |
---|---|
date | Wed, 09 Nov 2022 17:45:10 +0900 |
parents | 79ff65ed7e25 |
children |
comparison
equal
deleted
inserted
replaced
232:70dce7da266c | 236:c4bab56944e8 |
---|---|
1 // RUN: %clang_cc1 -fsyntax-only -verify %s | 1 // RUN: %clang_cc1 -fsyntax-only -triple x86_64-pc-linux-gnu -Wno-strict-prototypes -verify %s |
2 // // REQUIRES: x86-registered-target | |
2 | 3 |
3 // Functions cannot have parameters of type __fp16. | 4 // Functions cannot have parameters of type __fp16. |
4 extern void f (__fp16); // expected-error {{parameters cannot have __fp16 type; did you forget * ?}} | 5 extern void f (__fp16); // expected-error {{parameters cannot have __fp16 type; did you forget * ?}} |
5 extern void g (__fp16 *); | 6 extern void g (__fp16 *); |
6 | 7 |