reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced
    1
    2
    3
    4
    5
    6
// RUN:  %clang_cc1 -std=c++2a -verify %s

template<typename T> requires true
concept C = true; // expected-error{{concept cannot have associated constraints}}

// TODO: Add test for other kinds of associated constraints once we have them.