Logo
Explore Help
Sign In
mirrors/llvm-project
0
0
Fork 0
You've already forked llvm-project
mirror of https://github.com/llvm/llvm-project.git synced 2025-05-14 23:36:05 +00:00
Code Issues Projects Releases Wiki Activity
llvm-project/clang/test/CodeGen/array.c

15 lines
200 B
C
Raw Normal View History

Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. - This is designed to make it obvious that %clang_cc1 is a "test variable" which is substituted. It is '%clang_cc1' instead of '%clang -cc1' because it can be useful to redefine what gets run as 'clang -cc1' (for example, to set a default target). llvm-svn: 91446
2009-12-15 20:14:24 +00:00
// RUN: %clang_cc1 -emit-llvm %s -o %t
Fix array->pointer decay. This unbreaks test/CodeGen/array.c llvm-svn: 41202
2007-08-20 22:37:10 +00:00
Add noreturn as a type attribute, handle printing for them and handle calls to noreturn function pointers when CFG building. llvm-svn: 77089
2009-07-25 21:26:53 +00:00
void f() {
Fix array->pointer decay. This unbreaks test/CodeGen/array.c llvm-svn: 41202
2007-08-20 22:37:10 +00:00
int a[2];
a[0] = 0;
}
Codegen array initializers. llvm-svn: 43385
2007-10-26 17:44:44 +00:00
Add noreturn as a type attribute, handle printing for them and handle calls to noreturn function pointers when CFG building. llvm-svn: 77089
2009-07-25 21:26:53 +00:00
void f2() {
Codegen array initializers. llvm-svn: 43385
2007-10-26 17:44:44 +00:00
int x = 0;
int y = 1;
int a[10] = { y, x, 2, 3};
int b[10] = { 2,4,x,6,y,8};
int c[5] = { 0,1,2,3};
}
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.23.5 Page: 3193ms Template: 3ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API