1// RUN: %clang_cc1 -triple i686-windows-msvc -emit-llvm -std=c++1y -O1 -disable-llvm-optzns -o - %s | FileCheck %s
2
3struct __declspec(dllimport) S {
4  virtual void f();
5} s;
6// CHECK-DAG: @"\01??_7S@@6B@" = available_externally dllimport
7// CHECK-DAG: @"\01??_R0?AUS@@@8" = linkonce_odr
8// CHECK-DAG: @"\01??_R1A@?0A@EA@S@@8" = linkonce_odr
9// CHECK-DAG: @"\01??_R2S@@8" = linkonce_odr
10// CHECK-DAG: @"\01??_R3S@@8" = linkonce_odr
11
12struct U : S {
13} u;
14