       // expected-note@-1 {{add 'if #available' version check}}
 }
 
-// Multiple unavailable references in a single statement
+// Multiple potentially unavailable references in a single statement
 
 let ignored4: (Int, Int) = (globalFuncAvailableOn10_51(), globalFuncAvailableOn10_52()) // expected-error {{'globalFuncAvailableOn10_51()' is only available in macOS 10.51 or newer}}  expected-error {{'globalFuncAvailableOn10_52()' is only available in macOS 10.52 or newer}}
     // expected-note@-1 2{{add 'if #available' version check}}


// Initializers

class ClassWithUnavailableInitializer {
    // expected-note@-1 {{add @available attribute to enclosing class}}

  @available(OSX, introduced: 10.9)

overloadedFunction(0) // expected-error {{'overloadedFunction' is only available in macOS 10.51 or newer}}
    // expected-note@-1 {{add 'if #available' version check}}

// Potentially unavailable methods

class ClassWithPotentiallyUnavailableMethod {
    // expected-note@-1 {{add @available attribute to enclosing class}}

  @available(OSX, introduced: 10.9)
