clang/test/Driver/print-supported-extensions.c
raw| 1 | // Test that --print-supported-extensions errors on unsupported architectures. |
| 2 | |
| 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 |