1// RUN: %clang -### -x objective-c -arch x86_64 -fobjc-arc -fsyntax-only %s 2> %t.log
2// RUN: grep objective-c %t.log
3// RUN: not grep "fobjc-arc-exceptions" %t.log
4// RUN: %clang -### -x objective-c++ -arch x86_64 -fobjc-arc -fsyntax-only %s 2> %t.log
5// RUN: grep "fobjc-arc-exceptions" %t.log
6