1 // RUN: %clang_cc1 -std=c2x -fsyntax-only -verify -pedantic %s
3 // Test that we get the extension warning when appropriate and that it shows up
4 // in the right location.
7 int, // expected-warning {{passing a type argument as the first operand to '_Generic' is a C2y extension}}