// RUN: %clang_cc1 -fsyntax-only -std=c++1z -verify %s
void
typedef int n; // expected-error {{'fallthrough' attribute cannot be applied to a declaration}}
typedef int n; // expected-error {{'fallthrough' attribute cannot be applied to types}}
typedef int n ; // expected-error {{'fallthrough' attribute cannot be applied to a declaration}}
; // expected-error {{'fallthrough' attribute cannot be applied to a declaration}}
; // expected-error {{'fallthrough' attribute cannot be applied to a declaration}}
// expected-error {{'fallthrough' attribute cannot be applied to a declaration}}
void