1 // Test that --print-supported-extensions errors on unsupported architectures.
3 // RUN: %if x86-registered-target %{ not %clang --target=x86_64-linux-gnu \
4 // RUN: --print-supported-extensions 2>&1 | FileCheck %s --check-prefix X86 %}
5 // X86: error: option '--print-supported-extensions' cannot be specified on this target