summaryrefslogtreecommitdiffstats
path: root/clang/test/CodeGen/builtin-ms-noop.cpp
blob: f5064fbf3c0b3131fb5f8cd1b80c3ff794613edd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// RUN: %clang_cc1 -fms-extensions -triple %itanium_abi_triple -emit-llvm %s -o - | FileCheck %s

class A {
 public:
  ~A() {}
};

int f() {
// CHECK: @_Z1fv
// CHECK-NOT: call void @_ZN1AD1Ev
// CHECK: ret i32 0
  return __noop(A());
};
OpenPOWER on IntegriCloud