// RUN: %clang_cc1 -std=c++11 -fsyntax-only -verify %s
int i ; // expected-warning {{'lto_visibility_public' attribute only applies to structs, unions, and classes}}
typedef int t ; // expected-warning {{'lto_visibility_public' attribute only applies to}}
void ; // expected-warning {{'lto_visibility_public' attribute only applies to}}
void ; // expected-error {{'lto_visibility_public' attribute cannot be applied to types}}
;
;