diff clang/test/CodeGenObjC/encode-test-6.m @ 236:c4bab56944e8 llvm-original

LLVM 16
author kono
date Wed, 09 Nov 2022 17:45:10 +0900
parents 79ff65ed7e25
children 1f2b6ac9f198
line wrap: on
line diff
--- a/clang/test/CodeGenObjC/encode-test-6.m	Wed Jul 21 10:27:27 2021 +0900
+++ b/clang/test/CodeGenObjC/encode-test-6.m	Wed Nov 09 17:45:10 2022 +0900
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -triple x86_64-apple-darwin -emit-llvm -o %t %s
+// RUN: %clang_cc1 -no-opaque-pointers -triple x86_64-apple-darwin -emit-llvm -o %t %s
 // RUN: FileCheck < %t %s
 // rdar://11777609
 
@@ -57,7 +57,7 @@
 // rdar://16655340
 int i;
 typeof(@encode(typeof(i))) e = @encode(typeof(i));
-const char * Test()
+const char * Test(void)
 {
     return e;
 }