xref: /aosp_15_r20/external/clang/test/Driver/arc-exceptions.m (revision 67e74705e28f6214e480b399dd47ea732279e315)
1*67e74705SXin Li// RUN: %clang -### -x objective-c -arch x86_64 -fobjc-arc -fsyntax-only %s 2> %t.log
2*67e74705SXin Li// RUN: grep objective-c %t.log
3*67e74705SXin Li// RUN: not grep "fobjc-arc-exceptions" %t.log
4*67e74705SXin Li// RUN: %clang -### -x objective-c++ -arch x86_64 -fobjc-arc -fsyntax-only %s 2> %t.log
5*67e74705SXin Li// RUN: grep "fobjc-arc-exceptions" %t.log
6