Author: Sean Perry
Date: 2026-04-14T14:47:09-04:00
New Revision: ae0c5dc04f44e4ab69f3eb3a5eb959478d44372e

URL: 
https://github.com/llvm/llvm-project/commit/ae0c5dc04f44e4ab69f3eb3a5eb959478d44372e
DIFF: 
https://github.com/llvm/llvm-project/commit/ae0c5dc04f44e4ab69f3eb3a5eb959478d44372e.diff

LOG: Mark tests as unsupported on z/OS (#191843)

z/OS has a platform specific requirement to not allow asm statements at
file scope. These tests generate that message rather than the expected
IR. Mark the tests as unsupported on z/OS.

Added: 
    

Modified: 
    clang/test/CodeGen/2006-01-23-FileScopeAsm.c
    clang/test/CodeGen/asm_incbin.c

Removed: 
    


################################################################################
diff  --git a/clang/test/CodeGen/2006-01-23-FileScopeAsm.c 
b/clang/test/CodeGen/2006-01-23-FileScopeAsm.c
index 472b46496710f..877da4fc669e3 100644
--- a/clang/test/CodeGen/2006-01-23-FileScopeAsm.c
+++ b/clang/test/CodeGen/2006-01-23-FileScopeAsm.c
@@ -1,3 +1,4 @@
+// UNSUPPORTED: target={{.*}}-zos{{.*}}
 // RUN: %clang_cc1 %s -emit-llvm -o - | FileCheck %s
 
 // CHECK: module asm "foo1"

diff  --git a/clang/test/CodeGen/asm_incbin.c b/clang/test/CodeGen/asm_incbin.c
index 9ad447a1dfc98..6234eea1d6738 100644
--- a/clang/test/CodeGen/asm_incbin.c
+++ b/clang/test/CodeGen/asm_incbin.c
@@ -1,3 +1,4 @@
+// UNSUPPORTED: target={{.*}}-zos{{.*}}
 // RUN: split-file %s %t
 //--- foo.h
 //--- tu.c


        
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to